From 4ae689b8acf2688e4c7a064634494ea1040bb121 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 9 Feb 2014 23:28:18 -0600 Subject: fixed a small bug in format_magic. --- segfault.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'segfault.c') diff --git a/segfault.c b/segfault.c index 2e8060c..304aea3 100644 --- a/segfault.c +++ b/segfault.c @@ -149,8 +149,7 @@ char *format_magic(int fd,char *from,char *nick,char *orig_fmt,char *arg) { sz+=strlen(args[c]); sz+=strlen(notargs[c]); c++; - i++; - j=i; + j=i+1; break; } } -- cgit v1.2.3