]> git.marmaro.de Git - mmh/blobdiff - uip/send.c
No need to define the month and day names a second time
[mmh] / uip / send.c
index 9ad124f9954b062482ba6367084e93c8c05584db..eac15aee16e04cd9b9081549e6178157dd081226 100644 (file)
@@ -336,6 +336,10 @@ attach(char *draft_file_name)
        int length = strlen(attach_hdr);
        char *p;
 
+       if(distfile) {
+               return DONE;
+       }
+
        if (!(draft_file = fopen(draft_file_name, "r"))) {
                adios(EX_IOERR, NULL, "can't open draft file `%s'.", draft_file_name);
        }
@@ -438,6 +442,10 @@ signandenc(char *draft_file_name)
        int doenc = 0;
        int ret;
 
+       if(distfile) {
+               return DONE;
+       }
+
        if (!(draft_file = fopen(draft_file_name, "r"))) {
                adios(EX_IOERR, NULL, "can't open draft file `%s'.", draft_file_name);
        }