X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdropsbr.c;h=3c3e105264f2bdf50c7a72fa9b1a3d5e897395f6;hp=124e5ab55432347e03e640201677f9bcf62fc8b8;hb=d5b5e6e4813b7fd77dc1664df4304537f3002cf3;hpb=517661967774d60716ecff152c642b417195f900 diff --git a/uip/dropsbr.c b/uip/dropsbr.c index 124e5ab..3c3e105 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -169,7 +169,7 @@ mbox_copy(int to, int from) 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; }