X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bfff2c60b2c860c2bc466bdab94daf770d86aec5..c51d837b9bda943c5e0235b92ca3b98803185e17:/uip/dropsbr.c diff --git a/uip/dropsbr.c b/uip/dropsbr.c index 93263dee..630de111 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -5,13 +5,15 @@ * complete copyright information. */ -#include -#include +#include "h/nmh.h" +#include "h/mh.h" +#include "sbr/dtime.h" +#include "sbr/strindex.h" #include "sbr/error.h" -#include -#include -#include -#include +#include "h/utils.h" +#include "h/dropsbr.h" +#include "h/mts.h" +#include "h/tws.h" #include "sbr/lock_file.h" #include "sbr/m_mktemp.h" #include @@ -245,7 +247,7 @@ mbx_copy (char *mailbox, int mbx_style, int md, int fd, * If there is already a "From " line, * then leave it alone. Else we add one. */ - char tmpbuffer[sizeof buffer]; + char tmpbuffer[sizeof buffer-7]; char *tp, *ep; strncpy(tmpbuffer, buffer, sizeof(tmpbuffer));