diff options
author | Dan Winship <danw@gnome.org> | 2009-07-13 11:31:49 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-07-13 11:31:49 -0400 |
commit | fd5b785fbaad81f99c6c8b8bcb52028990e19120 (patch) | |
tree | fba0fa70662083b486c9234357d52d9f334b5535 | |
parent | a39704267d133c205f86962ce1dc224e29ea84ae (diff) | |
download | libsoup-fd5b785fbaad81f99c6c8b8bcb52028990e19120.tar.gz |
Fix cut+pasto in win32 gnutls code
-rw-r--r-- | libsoup/soup-gnutls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-gnutls.c b/libsoup/soup-gnutls.c index 947925f1..0326c6ba 100644 --- a/libsoup/soup-gnutls.c +++ b/libsoup/soup-gnutls.c @@ -408,7 +408,7 @@ soup_gnutls_push_func (gnutls_transport_ptr_t transport_data, nwrote = send (chan->sockfd, buf, buflen, 0); #ifdef G_OS_WIN32 - chan->eagain = (nread == SOCKET_ERROR && WSAGetLastError () == WSAEWOULDBLOCK); + chan->eagain = (nwrote == SOCKET_ERROR && WSAGetLastError () == WSAEWOULDBLOCK); #else chan->eagain = (nwrote == -1 && errno == EAGAIN); #endif |