]> diplodocus.org Git - nmh/blobdiff - uip/scansbr.c
Migrated show_content_aux2() to argsplit().
[nmh] / uip / scansbr.c
index 0f6cd7e0ca7d10bce6bfe91b9104be1ea7c2cdec..a07889e48b424cced88deee44d9e1b93d0f3e6db 100644 (file)
@@ -277,10 +277,12 @@ body:;
 
            case LENERR: 
            case FMTERR: 
-               fprintf (stderr, 
-                       innum ? "??Format error (message %d) in "
-                             : "??Format error in ",
-                       outnum ? outnum : innum);
+               if (innum)
+                   fprintf (stderr, "??Format error (message %d) in ",
+                            outnum ? outnum : innum);
+               else
+                   fprintf (stderr, "??Format error in ");
+
                fprintf (stderr, "component %d\n", compnum);
 
                if (outnum) {
@@ -344,7 +346,7 @@ finished:
        }
     }
 
-    fmt_scan (fmt, scanl, scanl_size, slwidth, dat);
+    fmt_scan (fmt, scanl, scanl_size, slwidth, dat, NULL);
 
     if (bodycomp)
        bodycomp->c_text = saved_c_text;