]>
Commit | Line | Data |
---|---|---|
a7089fbc AM |
1 | --- eggdrop1.6.21/src/main.c~ 2014-06-03 13:04:54.000000000 +0200 |
2 | +++ eggdrop1.6.21/src/main.c 2014-06-03 13:06:28.394788350 +0200 | |
3 | @@ -503,7 +503,7 @@ | |
4 | break; /* this should never be reached */ | |
5 | case 'h': | |
6 | printf("\n%s\n\n", version); | |
7 | - printf(EGG_USAGE); | |
8 | + printf("%s", EGG_USAGE); | |
9 | printf("\n"); | |
10 | bg_send_quit(BG_ABORT); | |
11 | exit(0); | |
12 | @@ -1073,7 +1073,7 @@ | |
13 | putlog(LOG_ALL, "*", "--- Loading %s (%s)", ver, s); | |
14 | chanprog(); | |
15 | if (!encrypt_pass) { | |
16 | - printf(MOD_NOCRYPT); | |
17 | + printf("%s", MOD_NOCRYPT); | |
18 | bg_send_quit(BG_ABORT); | |
19 | exit(1); | |
20 | } | |
21 | --- eggdrop1.6.21/src/mod/transfer.mod/transfer.c~ 2011-02-13 15:19:34.000000000 +0100 | |
22 | +++ eggdrop1.6.21/src/mod/transfer.mod/transfer.c 2014-06-03 13:07:45.957421377 +0200 | |
23 | @@ -786,7 +786,7 @@ | |
24 | ||
25 | static void display_dcc_fork_send(int idx, char *buf) | |
26 | { | |
27 | - sprintf(buf, TRANSFER_CONN_SEND); | |
28 | + sprintf(buf, "%s", TRANSFER_CONN_SEND); | |
29 | } | |
30 | ||
31 | static int expmem_dcc_xfer(void *x) | |
32 | --- eggdrop1.6.21/src/misc.c~ 2011-07-09 17:07:48.000000000 +0200 | |
33 | +++ eggdrop1.6.21/src/misc.c 2014-06-03 13:11:19.524671122 +0200 | |
34 | @@ -601,7 +601,7 @@ | |
35 | * then reset repeats. We want the current time here, | |
36 | * so put that in the file first. | |
37 | */ | |
38 | - fprintf(logs[i].f, stamp); | |
39 | + fprintf(logs[i].f, "%s", stamp); | |
40 | fprintf(logs[i].f, MISC_LOGREPEAT, logs[i].repeats); | |
41 | logs[i].repeats = 0; | |
42 | /* No need to reset logs[i].szlast here |