summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}