]> diplodocus.org Git - nmh/blobdiff - uip/post.c
Enhanced mhical syntax error message to provide some context.
[nmh] / uip / post.c
index 9723d26fb802c7327c01ea54f5563cf70be9703a..81bd7b4a6680f78aed187e8ee9ada401aa82f96a 100644 (file)
@@ -1849,7 +1849,7 @@ do_text (char *file, int fd)
     int retval, state;
     char buf[BUFSIZ];
 
-    lseek (fd, (off_t) 0, SEEK_SET);
+    lseek(fd, 0, SEEK_SET);
 
     while ((state = read (fd, buf, sizeof(buf))) > 0) {
        if (rp_isbad (retval = sm_wtxt (buf, state)))