diff options
Diffstat (limited to 'response.c')
-rw-r--r-- | response.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |