]> diplodocus.org Git - nmh/blobdiff - uip/scansbr.c
Support command issuance and timestamps.
[nmh] / uip / scansbr.c
index 24609d26c48d48ce95ace41734480ebfda0bdad2..ea5cf266d25e194db1d0989cb1a176ceae5e7f9d 100644 (file)
@@ -11,6 +11,7 @@
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/utils.h>
+#include "sbr/terminal.h"
 
 static struct format *fmt;
 static struct comp *datecomp;          /* pntr to "date" comp             */
@@ -347,7 +348,7 @@ finished:
     if (scnout && (ferror(scnout) || fclose (scnout) == EOF))
        DIEWRERR();
 
-    return (state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG);
+    return state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG;
 }