Mon, 17 Sep 2001 09:29:16 +0000
[gaim-migrate @ 2304]
another buglet
| src/protocols/irc/irc.c | file | annotate | diff | comparison | revisions |
--- a/src/protocols/irc/irc.c Mon Sep 17 06:28:08 2001 +0000 +++ b/src/protocols/irc/irc.c Mon Sep 17 09:29:16 2001 +0000 @@ -136,8 +136,10 @@ buf[j++] = 0; word[wordcount] = &buf[j]; eol[wordcount++] = cmd + 1; - if (wordcount == PDIWORDS - 1) - *cmd-- = 0; + if (wordcount == PDIWORDS - 1) { + buf[j] = 0; + return; + } space = TRUE; break; default: