[gaim-migrate @ 2304]

Mon, 17 Sep 2001 09:29:16 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Mon, 17 Sep 2001 09:29:16 +0000
changeset 2294
dd10228630d3
parent 2293
0b97886b9464
child 2295
6bb783723153

[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:

mercurial