*** empty log message ***

svn path=/trunk/boinc/; revision=2286
This commit is contained in:
Karl Chen 2003-09-07 02:40:57 +00:00
parent 9224c22400
commit 662e8ffa43
1 changed files with 6 additions and 4 deletions

View File

@ -179,10 +179,12 @@ int HTTP_REPLY_HEADER::read_reply(int socket) {
char c;
errno = 0;
int n = recv(socket, &c, 1, 0);
scope_messages.printf(
"HTTP_REPLY_HEADER::read_reply(): recv() on socket %d returned %d errno %d sockerr %d\n",
socket, n, errno, get_socket_error(socket)
);
if (n != 1) {
scope_messages.printf(
"HTTP_REPLY_HEADER::read_reply(): recv() on socket %d returned %d errno %d sockerr %d\n",
socket, n, errno, get_socket_error(socket)
);
}
if (n == -1 && errno == EAGAIN) {
return 1;
}