diff --git a/ChangeLog b/ChangeLog index 67b3a57..bb7ecf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ fixed sf bug 1060594: fspd: owner can't rename files - fixed sf bug 1060558: fpro 'l' sets 'm' flag instead + fixed sf bug 1060558: fpro 'l' sets 'm' flag instead (dairiki) fixed sf bug 1060558: fpro 'l' flag was not correctly saved into filesystem + fixed sf bug 1060555: fix for 64-bit systems (dairiki) fmvcmd: do not send trailing junk to the server print key=, seq= in fspd debugs with fixed width for easy reading added BUGS and HISTORY sections to fspscan.1 manual page diff --git a/client/util.c b/client/util.c index d76f08d..75163e9 100644 --- a/client/util.c +++ b/client/util.c @@ -257,7 +257,7 @@ static int util_download_main (char * path, char * fpath, FILE * fp, wrote = fwrite(ub->buf,1,rlen,fp); /* check for long integer pos overflow */ #if SIZEOF_LONG > 4 - if(pos+bytes>FOURGIGS) + if(pos+wrote>FOURGIGS) break; #else if(pos+wrote