Added argument to fmt_scan() to specify the buffer size.
[mmh] / uip / replsbr.c
index a6d0f23..f6ccd35 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);