]> diplodocus.org Git - nmh/blobdiff - uip/forw.c
Make -attach Nmh-Attachment & -attachformat 1 the default.
[nmh] / uip / forw.c
index 2d56e6b2ff0d74cc2e378984f3d052fccbd9c449..acf74c43ab403ed9f8969645200f4b89a416d138 100644 (file)
@@ -130,7 +130,7 @@ main (int argc, char **argv)
     int msgp = 0, anot = 0, inplace = 1, mime = 0;
     int issue = 0, volume = 0, dashstuff = 0;
     int nedit = 0, nwhat = 0, i, in;
-    int out, isdf = 0, msgnum;
+    int out, isdf = 0, msgnum = 0;
     int outputlinelen = OUTPUTLINELEN;
     int dat[5];
     char *cp, *cwd, *maildir, *dfolder = NULL;
@@ -441,7 +441,7 @@ try_it_again:
        form = forwcomps;
     }
 
-    dat[0] = issue;
+    dat[0] = digest ? issue : msgnum;
     dat[1] = volume;
     dat[2] = 0;
     dat[3] = outputlinelen;