]> git.marmaro.de Git - mmh/blobdiff - uip/replsbr.c
Added argument to fmt_scan() to specify the buffer size.
[mmh] / uip / replsbr.c
index a6d0f233b54e455a577731596991b199c37ad620..f6ccd3529bf87ee1c4ce53972e4f2010b57e85c8 100644 (file)
@@ -237,7 +237,7 @@ finished:
     dat[2] = 0;
     dat[3] = outputlinelen;
     dat[4] = 0;
-    fmt_scan (fmt, scanl, i, dat);
+    fmt_scan (fmt, scanl, i + 1, i, dat);
     fputs (scanl, out);
     if (badaddrs) {
        fputs ("\nrepl: bad addresses:\n", out);