]> diplodocus.org Git - nmh/blobdiff - uip/slocal.c
Reworked attach to add charset to Content-Type string for
[nmh] / uip / slocal.c
index d1ade5db6f74c89bec9d4295be614c7a289030aa..8daf6081ac9ccf2c3dd1f2a8c00e3b91e598ef22 100644 (file)
@@ -31,7 +31,6 @@
 #include <h/utils.h>
 
 #include <pwd.h>
-#include <signal.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
 
@@ -1043,8 +1042,9 @@ usr_folder (int fd, char *string)
  */
 
 static int
-usr_pipe (int fd, char *cmd, char *pgm, char **vec, int suppress)
+usr_pipe (int fd_arg, char *cmd, char *pgm, char **vec, int suppress)
 {
+    volatile int fd = fd_arg;
     pid_t child_id;
     int i, bytes, seconds, status;
     struct stat st;
@@ -1478,7 +1478,6 @@ suppress_duplicates (int fd, char *file)
                free (cp);
                fclose (in);
                return result;
-               break;
 
           case BODY:
           case FILEEOF: