projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d35aff
)
gweb: Make debug for write simpler
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 13 Jun 2011 20:12:44 +0000
(22:12 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 13 Jun 2011 20:12:44 +0000
(22:12 +0200)
gweb/gweb.c
patch
|
blob
|
history
diff --git
a/gweb/gweb.c
b/gweb/gweb.c
index
9c9fcd1
..
1183cc6
100644
(file)
--- a/
gweb/gweb.c
+++ b/
gweb/gweb.c
@@
-429,13
+429,11
@@
static gboolean process_send_buffer(struct web_session *session)
return FALSE;
}
- debug(session->web, "bytes to write %zu", count);
-
status = g_io_channel_write_chars(session->transport_channel,
buf->str, count, &bytes_written, NULL);
- debug(session->web, "status %u bytes written %zu",
- status, bytes_written);
+ debug(session->web, "status %u bytes
to write %zu bytes
written %zu",
+ status,
count,
bytes_written);
if (status != G_IO_STATUS_NORMAL && status != G_IO_STATUS_AGAIN)
return FALSE;