- Timestamp:
- Oct 28, 2024, 8:55:11 AM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r393 r394 346 346 char buffer[512]; 347 347 fread(buffer, size < 512 ? size : 512, 1, f); 348 tw_write(ssl, sock, buffer, size < 512 ? size : 512);348 if(tw_write(ssl, sock, buffer, size < 512 ? size : 512) < 0) return; 349 349 } else { 350 tw_write(ssl, sock, (unsigned char*)doc + incr, size < 512 ? size : 512);350 if(tw_write(ssl, sock, (unsigned char*)doc + incr, size < 512 ? size : 512) < 0) return; 351 351 } 352 352 incr += 512;
Note:
See TracChangeset
for help on using the changeset viewer.