commit | ba6db03c40b3ac223695fe08e96744ab389c6dab | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Jul 31 16:25:45 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Jul 31 16:25:45 2001 +0000 |
tree | 3876cf3df3c6c56bf6cd2cc63d1cb772c4cd28e4 | |
parent | 57905379d11e037e2fad66ad0bbadb8930cc1660 [diff] [blame] |
protected an use of EAGAIN, Brian Stafford Daniel * nanohttp.c: protected an use of EAGAIN, Brian Stafford Daniel
diff --git a/nanohttp.c b/nanohttp.c index 1b3566b..8fade16 100644 --- a/nanohttp.c +++ b/nanohttp.c
@@ -415,7 +415,9 @@ if (nsent>0) total_sent += nsent; else if ( ( nsent == -1 ) && +#if defined(EAGAIN) && EAGAIN != EWOULDBLOCK ( socket_errno( ) != EAGAIN ) && +#endif ( socket_errno( ) != EWOULDBLOCK ) ) { xmlGenericError( xmlGenericErrorContext, "xmlNanoHTTPSend error: %s",