summaryrefslogtreecommitdiff
path: root/response.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:37:16 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:37:16 -0500
commitfb3200360b153666e1bfe0ef14e67926358f12cc (patch)
treebcda5214aa103e6cf904ced1c0ef0d6a6f125a0c /response.c
parent3cfe33705d53c04c8dcb6c80e35b60d370b5b0a4 (diff)
do not mix errors and sizes on input either
Diffstat (limited to 'response.c')
-rw-r--r--response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/response.c b/response.c
index f35284d..efb96b7 100644
--- a/response.c
+++ b/response.c
@@ -56,7 +56,7 @@ gboolean cbClientInput(gpointer data, gpointer additional)
GPollableOutputStream* outStream = (GPollableOutputStream*)additional;
size=g_pollable_input_stream_read_nonblocking(inStream, buffer, 1024, NULL, NULL);
- if(size <=0 || size == G_IO_ERROR_WOULD_BLOCK) {
+ if(size == -1) {
g_print_debug("Got: %d\n", size);
return FALSE;
}