git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9099
91ce42f0-d328-0410-95d8-
f526ca767f89
{
int i = 0;
int ch;
- fprintf(stdout, prompt);
+
+ fprintf(stdout, "%s", prompt);
/* We really should turn off echoing and pretty this
* up a bit.
strip_trailing_junk(cmd);
return 1;
} else if (ch == 4 || ch == 0xd3 || ch == 0x8) {
- if (i > 0)
+ if (i > 0) {
cmd[--i] = 0;
+ }
continue;
}
General:
24Jul09
+kes Add format to a fprintf
kes Attempt to fix SQLite seg fault problem
23Jul09
kes Fix int/int32_t problem in accurate_add_file