summaryrefslogtreecommitdiff
path: root/segfault.c
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2014-02-09 23:28:18 -0600
committerepoch <epoch@hacking.allowed.org>2014-02-09 23:28:18 -0600
commit4ae689b8acf2688e4c7a064634494ea1040bb121 (patch)
tree46a2dea3d2351cfe2323a90f688dc3a06e609bdd /segfault.c
parent0aa07718054116019222cbd69b81f1508bfa8dc0 (diff)
downloadsegfault-4ae689b8acf2688e4c7a064634494ea1040bb121.tar.gz
segfault-4ae689b8acf2688e4c7a064634494ea1040bb121.zip
fixed a small bug in format_magic.
Diffstat (limited to 'segfault.c')
-rw-r--r--segfault.c3
1 files changed, 1 insertions, 2 deletions
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;
}
}