X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhmail.c;h=76e9e80095a8383c650ae175d0fcb2c34aa593b6;hb=1a02dc347cf3d583b8b2e4a57e9ff32cf82240e9;hp=990776ca12dc1cbd6a4a5ac9713b7e85388e343c;hpb=f475d48680eb8bb0b6543efab9057eba2773666e;p=mmh diff --git a/uip/mhmail.c b/uip/mhmail.c index 990776c..76e9e80 100644 --- a/uip/mhmail.c +++ b/uip/mhmail.c @@ -44,7 +44,8 @@ int main (int argc, char **argv) { pid_t child_id; - int status, i, iscc = 0, nvec; + int status, iscc = 0, nvec; + size_t i; int queued = 0, resent = 0, somebody; char *cp, *tolist = NULL, *cclist = NULL, *subject = NULL; char *from = NULL, *body = NULL, **argp, **arguments; @@ -83,10 +84,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [addrs ... [switches]]", invo_name); print_help (buf, switches, 0); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case FROMSW: if (!(from = *argp++) || *from == '-')