Fixed minor typos and compilation issues

This commit is contained in:
2015-04-30 09:25:36 +02:00
parent e8df6158ea
commit e497e2daf3
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -553,7 +553,7 @@ static char *SctActionHandler(void *actionData, char *lastReply,
} else {
l = strlen(origScript);
}
snprintf(eprop, sizeof eprop, "error_in_%.*s", l, origScript);
snprintf(eprop, sizeof eprop, "error_in_%s", origScript);
emsg = GetHdbProp(node, eprop);
cnt = 0;
if (emsg != NULL) {