summaryrefslogtreecommitdiff
path: root/response.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-14 10:32:21 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-14 10:32:21 -0400
commitcc81ed5ed18464d6e632c79a1ccc9a2a8eea45b4 (patch)
treef6c1168e533fe28859269c111864ce82f88a8300 /response.c
parent1d122d034def5e9f7e0a76159866de0f36ab56f7 (diff)
astyle formatting run
Diffstat (limited to 'response.c')
-rw-r--r--response.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/response.c b/response.c
index 166cd6a..2e89908 100644
--- a/response.c
+++ b/response.c
@@ -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;