diff options
Diffstat (limited to 'response.c')
-rw-r--r-- | response.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -77,12 +77,7 @@ gboolean cbClientInput(gpointer data, gpointer additional) //write output to client static gssize writeOutput(GPollableOutputStream* stream, gchar* data, gssize size) { - gssize what=0; - what=g_pollable_output_stream_write_nonblocking(stream, data, size, NULL, NULL); - if(what < 0 || what == G_IO_ERROR_WOULD_BLOCK) { - return -1; - } - return what; + return g_pollable_output_stream_write_nonblocking(stream, data, size, NULL, NULL); } //initialize the signals |