projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove h/nmh.h
[mmh]
/
uip
/
dropsbr.c
diff --git
a/uip/dropsbr.c
b/uip/dropsbr.c
index
124e5ab
..
5b5cf0e
100644
(file)
--- a/
uip/dropsbr.c
+++ b/
uip/dropsbr.c
@@
-6,7
+6,7
@@
** complete copyright information.
*/
** complete copyright information.
*/
-#include <h/nmh.h>
+#include <stdlib.h>
#include <h/utils.h>
#include <h/mh.h>
#include <h/utils.h>
#include <h/mh.h>
@@
-169,7
+169,7
@@
mbox_copy(int to, int from)
if (i != 0 && strncmp(buffer, "From ", 5) == 0) {
write(to, ">", 1);
}
if (i != 0 && strncmp(buffer, "From ", 5) == 0) {
write(to, ">", 1);
}
- if (write(to, buffer, strlen(buffer)) != strlen(buffer)) {
+ if (write(to, buffer, strlen(buffer)) != (int)strlen(buffer)) {
fclose(fp);
return NOTOK;
}
fclose(fp);
return NOTOK;
}