X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsend.c;h=d7691db99a332a57c9ddc6322303cc6371b7bd91;hp=9ad124f9954b062482ba6367084e93c8c05584db;hb=6e4f8128fe078a3e54f5c92d27c31acc7b8f9fd8;hpb=13b978e9a4118d3de7a418bef4e5cad663e9068f diff --git a/uip/send.c b/uip/send.c index 9ad124f..d7691db 100644 --- a/uip/send.c +++ b/uip/send.c @@ -73,6 +73,7 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; int main(int argc, char **argv) @@ -336,6 +337,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 +443,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); }