]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | Index: irc/include/patchlevel.h |
2 | diff -u irc/include/patchlevel.h:1.1.1.1.2.2 irc/include/patchlevel.h:1.1.1.1.2.3 | |
3 | --- irc/include/patchlevel.h:1.1.1.1.2.2 Thu Apr 24 08:31:43 1997 | |
4 | +++ irc/include/patchlevel.h Wed Jul 2 09:31:14 1997 | |
5 | @@ -17,5 +17,5 @@ | |
6 | */ | |
7 | ||
8 | #ifndef PATCHLEVEL | |
9 | -#define PATCHLEVEL "0209020002" /* for server identification */ | |
10 | +#define PATCHLEVEL "0209020003" /* for server identification */ | |
11 | #endif | |
12 | Index: irc/ircd/s_serv.c | |
13 | diff -u irc/ircd/s_serv.c:1.1.1.1.2.1 irc/ircd/s_serv.c:1.1.1.1.2.3 | |
14 | --- irc/ircd/s_serv.c:1.1.1.1.2.1 Thu Apr 24 08:32:44 1997 | |
15 | +++ irc/ircd/s_serv.c Wed Jul 2 11:47:32 1997 | |
16 | @@ -301,9 +301,9 @@ | |
17 | else if (parc > 2) | |
18 | { | |
19 | (void)strncpy(info, parv[2], REALLEN); | |
20 | - if (parc > 3) | |
21 | + i = strlen(info); | |
22 | + if (parc > 3 && ((i+2) < REALLEN)) | |
23 | { | |
24 | - i = strlen(info); | |
25 | (void)strncat(info, " ", REALLEN - i - 1); | |
26 | (void)strncat(info, parv[3], REALLEN - i - 2); | |
27 | } |