diff options
author | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 19:37:16 -0500 |
---|---|---|
committer | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 19:37:16 -0500 |
commit | fb3200360b153666e1bfe0ef14e67926358f12cc (patch) | |
tree | bcda5214aa103e6cf904ced1c0ef0d6a6f125a0c /response.c | |
parent | 3cfe33705d53c04c8dcb6c80e35b60d370b5b0a4 (diff) |
do not mix errors and sizes on input either
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; } |