projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed multiple bugs in makedir(). First off, when creating nested folders, it
[mmh]
/
uip
/
viamail.c
diff --git
a/uip/viamail.c
b/uip/viamail.c
index
bb5b12c
..
2ee6b3d
100644
(file)
--- a/
uip/viamail.c
+++ b/
uip/viamail.c
@@
-161,7
+161,7
@@
main (int argc, char **argv)
adios (NULL, "missing -viamail \"mailpath\" switch");
via_mail (f1, f2, f3, f4, f5, delay, f7);
adios (NULL, "missing -viamail \"mailpath\" switch");
via_mail (f1, f2, f3, f4, f5, delay, f7);
- /* NOTREACHED */
+ return 0; /* dead code to satisfy the compiler */
}
}
@@
-245,5
+245,5
@@
via_mail (char *mailsw, char *subjsw, char *parmsw, char *descsw,
fclose (fp);
if (unlink (tmpfil) == -1)
advise (NULL, "unable to remove temp file %s", tmpfil);
fclose (fp);
if (unlink (tmpfil) == -1)
advise (NULL, "unable to remove temp file %s", tmpfil);
- done (status);
+ return done (status);
}
}