diff options
Diffstat (limited to 'gatchat/gatserver.c')
-rw-r--r-- | gatchat/gatserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c index 06a6a93a..148754a0 100644 --- a/gatchat/gatserver.c +++ b/gatchat/gatserver.c @@ -944,7 +944,7 @@ static gboolean received_data(GIOChannel *channel, GIOCondition cond, break; rbytes = 0; - buf = ring_buffer_write_ptr(server->read_buf); + buf = ring_buffer_write_ptr(server->read_buf, 0); err = g_io_channel_read(channel, (char *) buf, toread, &rbytes); g_at_util_debug_chat(TRUE, (char *)buf, rbytes, |