diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-04-24 18:59:44 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-04-24 18:59:44 +0200 |
commit | 8f05535bb280bb8f957e179241fb6134b947e48a (patch) | |
tree | 03cc9cc0665803941a355b8bf1cb44aa675a9620 /gatchat/gatchat.c | |
parent | 9fd7d841c861d460e036556f0fe4dfacb2d1f1da (diff) | |
download | ofono-8f05535bb280bb8f957e179241fb6134b947e48a.tar.bz2 |
Add offset parameter to ring_buffer_write_ptr() function
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r-- | gatchat/gatchat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index 613aad2d..6f1aa721 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -711,7 +711,7 @@ static gboolean received_data(GIOChannel *channel, GIOCondition cond, break; rbytes = 0; - buf = ring_buffer_write_ptr(chat->buf); + buf = ring_buffer_write_ptr(chat->buf, 0); err = g_io_channel_read(channel, (char *) buf, toread, &rbytes); g_at_util_debug_chat(TRUE, (char *)buf, rbytes, |