projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce80221
)
Fixed another weird bug caused by the static mailpath being overwritten.
author
Jon Steinhart
<jon@fourwinds.com>
Tue, 12 Oct 2004 21:14:02 +0000
(21:14 +0000)
committer
Jon Steinhart
<jon@fourwinds.com>
Tue, 12 Oct 2004 21:14:02 +0000
(21:14 +0000)
uip/inc.c
patch
|
blob
|
history
diff --git
a/uip/inc.c
b/uip/inc.c
index
02a2cbf
..
864574b
100644
(file)
--- a/
uip/inc.c
+++ b/
uip/inc.c
@@
-534,6
+534,11
@@
main (int argc, char **argv)
}
if (stat (newmail, &s1) == NOTOK || s1.st_size == 0)
adios (NULL, "no mail to incorporate");
+
+ if ((cp = strdup(newmail)) == (char *)0)
+ adios (maildir, "error allocating memory to copy newmail");
+
+ newmail = cp;
}
#ifdef POP