diff options
Diffstat (limited to 'gatchat/ppp_net.c')
-rw-r--r-- | gatchat/ppp_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c index 6facc6d7..7ce7bc81 100644 --- a/gatchat/ppp_net.c +++ b/gatchat/ppp_net.c @@ -87,6 +87,8 @@ void ppp_net_process_packet(struct ppp_net *net, const guint8 *packet) len = get_host_short(&packet[2]); status = g_io_channel_write_chars(net->channel, (gchar *) packet, len, &bytes_written, NULL); + if (status != G_IO_STATUS_NORMAL) + return; } /* |