the wrong number of bytes for the client to download
$Log$
+ Revision 590.94 2002/01/27 06:39:45 error
+ * file_ops.c: fixed bug in cmd_read() which could cause server to report
+ the wrong number of bytes for the client to download
+
Revision 590.93 2002/01/26 21:33:38 ajc
* More internet addressing and global directory stuff. I think it's all working now
except for the purging of old entries.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
}
fseek(CC->download_fp, start_pos, 0);
- fread(buf, bytes, 1, CC->download_fp);
+ bytes = fread(buf, bytes, 1, CC->download_fp);
cprintf("%d %d\n", BINARY_FOLLOWS, bytes);
client_write(buf, bytes);
}