mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed missing curly brackets
This commit is contained in:
parent
89f48c21e0
commit
ff1542320a
@ -22563,7 +22563,7 @@ int execute_shell(LOGBOOK * lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LE
|
||||
p = stristr(shell_cmd, "$attachments");
|
||||
strlcpy(tail, p + strlen("$attachments"), sizeof(tail));
|
||||
*p = 0;
|
||||
for (i = 0; i < MAX_ATTACHMENTS; i++)
|
||||
for (i = 0; i < MAX_ATTACHMENTS; i++) {
|
||||
generate_subdir_name(att_file[i], subdir, sizeof(subdir));
|
||||
if (att_file[i][0] && strlen(shell_cmd) + strlen(lbs->data_dir) + strlen(subdir) + strlen(att_file[i])
|
||||
< sizeof(shell_cmd) + 1) {
|
||||
@ -22576,6 +22576,7 @@ int execute_shell(LOGBOOK * lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LE
|
||||
strcat(p, "\" ");
|
||||
p += strlen(p);
|
||||
}
|
||||
}
|
||||
strlcat(shell_cmd, tail, sizeof(shell_cmd));
|
||||
}
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@
|
||||
D52BA2F113999DB0000458E3 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0630;
|
||||
LastUpgradeCheck = 0720;
|
||||
ORGANIZATIONNAME = PSI;
|
||||
};
|
||||
buildConfigurationList = D52BA2F413999DB0000458E3 /* Build configuration list for PBXProject "elogd" */;
|
||||
@ -218,6 +218,7 @@
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user