Hi Julien, On Fri, Dec 10, 2010 at 10:04:06AM +0000, [email protected] wrote: > From: Julien Massot <[email protected]> > > Fix Listener to support G_IO_NVAL | G_IO_ERR | G_IO_HUP events. > > --- > gdhcp/client.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/gdhcp/client.c b/gdhcp/client.c > index cebe6f4..fecbe1d 100644 > --- a/gdhcp/client.c > +++ b/gdhcp/client.c > @@ -598,7 +598,8 @@ static int switch_listening_mode(GDHCPClient *dhcp_client, > g_io_channel_set_close_on_unref(listener_channel, TRUE); > dhcp_client->listener_watch = > g_io_add_watch_full(listener_channel, > - G_PRIORITY_HIGH, G_IO_IN, > + G_PRIORITY_HIGH, > + G_IO_IN | G_IO_NVAL | G_IO_ERR > | G_IO_HUP, > This is breaking the less than 80 chars rule. I fixed it up and applied your patch.
Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
