*** empty log message ***

This commit is contained in:
Mike Goslin 2000-12-16 02:42:59 +00:00
parent 9046be0eaa
commit eab6f0393b
1 changed files with 7 additions and 6 deletions

View File

@ -261,6 +261,7 @@ fast_receive(int socket, DownloadStatus *status, int rec_size) {
if (ret == 0) {
return FR_eof;
} else if (ret == -1) {
#if defined(WIN32_VC)
int err = WSAGetLastError();
if (err == 0) {
if (downloader_cat.is_debug())
@ -268,17 +269,17 @@ fast_receive(int socket, DownloadStatus *status, int rec_size) {
<< "Downloader::fast_receive() - recv() error = 0" << endl;
return FR_no_data;
} else {
#if defined(WIN32_VC)
downloader_cat.error()
<< "Downloader::fast_receive() - recv() error: "
<< err << endl;
#else
downloader_cat.error()
<< "Downloader::fast_receive() - recv() error: "
<< errno << endl;
#endif
return FR_error;
}
#else
downloader_cat.error()
<< "Downloader::fast_receive() - recv() error: "
<< errno << endl;
return FR_error;
#endif
}
if (downloader_cat.is_debug())
downloader_cat.debug()