summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_net.c')
-rw-r--r--gatchat/ppp_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c
index a74c06ce..0b1d3a2d 100644
--- a/gatchat/ppp_net.c
+++ b/gatchat/ppp_net.c
@@ -106,7 +106,7 @@ static gboolean ppp_net_callback(GIOChannel *channel, GIOCondition cond,
if (cond & G_IO_IN) {
/* leave space to add PPP protocol field */
status = g_io_channel_read_chars(channel, buf, net->mtu,
- &bytes_read, &error);
+ &bytes_read, &error);
if (bytes_read > 0)
ppp_transmit(net->ppp, (guint8 *) net->ppp_packet,
bytes_read);