X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fspost.c;h=369f03e24341150d731ff0df1700bf4ede912597;hp=93283cc172e5579e88a2e899b0e5f7a85d225139;hb=412b2e54251ff6e20537f83b95c8ee76ea8c5c40;hpb=5f6cb9c6ca7a84cbb7b7e3fd4d033af99caa9e18 diff --git a/uip/spost.c b/uip/spost.c index 93283cc..369f03e 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -654,12 +654,12 @@ fcc(char *file, char *folders) folders); fflush(stdout); } - if (strlen(fileproc)+strlen(file)+strlen(folders)+100 > sizeof cmd) { + if (100+strlen(file)+strlen(folders) > sizeof cmd) { adios(NULL, "Too much Fcc data"); } /* hack: read from /dev/null and refile(1) won't question us */ - snprintf(cmd, sizeof cmd, "