]> git.marmaro.de Git - mmh/blobdiff - uip/scansbr.c
* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
[mmh] / uip / scansbr.c
index b178e75955a5944a0d226366e0894ae625b9c0a2..3bede5ae792a54b3b75e0a9bfa9491c692d73349 100644 (file)
@@ -97,7 +97,7 @@ scan (FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
                width = MAXSCANL;
        }
        dat[3] = slwidth = width;
-       scanl = (char *) mh_xmalloc((size_t) (slwidth + 2) );
+       scanl = (char *) mh_xmalloc((size_t) MB_CUR_MAX * (slwidth + 2) );
        if (outnum)
            umask(~m_gmprot());