hotfix - sic - simple irc client
HTML git clone git://git.suckless.org/sic
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 3160fd2bedd1ff19a72a25113d6b48bad30cdfff
DIR parent 560111d4ba0603fa8bfd2784980de421f97dd287
HTML Author: Anselm R. Garbe <arg@10kloc.org>
Date: Thu, 12 Oct 2006 08:03:37 +0200
hotfix
Diffstat:
M sic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/sic.c b/sic.c
@@ -86,7 +86,7 @@ parsein(char *msg) {
return;
}
else if(!strncmp(msg + 1, "t ", 2)) {
- if((p = strchr(&msg[3], ' '))
+ if((p = strchr(&msg[3], ' ')))
*(p++) = 0;
snprintf(bufout, sizeof(bufout), "TOPIC %s :%s\r\n", &msg[3], p);
}