summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index 508678e..1d5d914 100644
--- a/irc.c
+++ b/irc.c
@@ -140,7 +140,7 @@ retry:
 
 	char *crlf;
 	char *line = buf;
-	while (NULL != (crlf = strnstr(line, "\r\n", &buf[len] - line))) {
+	while (NULL != (crlf = memmem(line, &buf[len] - line, "\r\n", 2))) {
 		crlf[0] = '\0';
 		if (self.raw) {
 			uiFmt(TagRaw, UICold, "\3%d>>>\3 %s", IRCGray, line);
fec2e87d95fb&follow=1'>Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe