diff options
Diffstat (limited to 'response.c')
-rw-r--r-- | response.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -61,15 +61,16 @@ gboolean cbClientInput(gpointer data, gpointer additional) GPollableOutputStream* outStream = (GPollableOutputStream*)additional; GError* error = NULL; - if(!g_pollable_input_stream_is_readable(inStream)) { return FALSE; } + if(!g_pollable_input_stream_is_readable(inStream)) { + return FALSE; + } size=g_pollable_input_stream_read_nonblocking(inStream, buffer, 1024, NULL, &error); - - if(error && error->message) - { + + if(error && error->message) { g_print_debug("Error: %s\n",error->message); return FALSE; } - + if(size <= 0) { g_print_debug("Got: %d\n", (int) size); return FALSE; |