]> diplodocus.org Git - nmh/blobdiff - uip/sendsbr.c
Added const to filename args of cpydata(). Then added const to some
[nmh] / uip / sendsbr.c
index af9412dfe9da9fc191aad552e831a0e0432c488a..6bfc548e7270be61318fe94c176b493a18a265e7 100644 (file)
@@ -194,7 +194,7 @@ splitmsg (char **vec, int vecp, char *program, char *drft,
                     * of message/partials.  For the "Subject" header
                     * field, we also record it, so that a modified
                     * version of it, can be copied to the header
-                    * of each messsage/partial in the collection.
+                    * of each message/partial in the collection.
                     */
                    if (!strcasecmp (name, "Subject")) {
                        size_t sublen;
@@ -389,7 +389,6 @@ sendaux (char **vec, int vecp, char *program, char *drft, struct stat *st)
     fd = pushsw ? tmp_fd () : NOTOK;
     fd2 = NOTOK;
 
-    vec[vecp++] = drft;
     if (annotext) {
        if ((fd2 = tmp_fd ()) != NOTOK) {
            vec[vecp++] = "-idanno";
@@ -400,6 +399,7 @@ sendaux (char **vec, int vecp, char *program, char *drft, struct stat *st)
                       "for annotation list", get_temp_dir());
        }
     }
+    vec[vecp++] = drft;
     if (distfile && distout (drft, distfile, backup) == NOTOK)
        done (1);
     vec[vecp] = NULL;