]> diplodocus.org Git - nmh/blobdiff - uip/distsbr.c
uip/mhparse.c: Fix body starting a byte too soon when no blank line.
[nmh] / uip / distsbr.c
index a4c487238ec3659972ea91a9dfa0d1f0666107e4..c9f6656b6842ca38bc62e5f80cd48e4f3fc0a563 100644 (file)
@@ -42,7 +42,7 @@ distout (char *drft, char *msgnam, char *backup)
     chmod (drft, m_gmprot ());
 
     ready_msg (msgnam);
-    lseek (hdrfd, (off_t) 0, SEEK_SET); /* msgnam not accurate */
+    lseek(hdrfd, 0, SEEK_SET); /* msgnam not accurate */
     cpydata (hdrfd, fileno (ofp), msgnam, drft);
 
     for (resent = NULL;;) {
@@ -111,7 +111,7 @@ process: ;
     free (resent);
 
     if (txtfd != NOTOK) {
-       lseek (txtfd, (off_t) 0, SEEK_SET); /* msgnam not accurate */
+       lseek(txtfd, 0, SEEK_SET); /* msgnam not accurate */
        cpydata (txtfd, fileno (ofp), msgnam, drft);
     }