Hi Guillaume, On 02/17/2011 07:48 AM, Guillaume Zajac wrote: > --- > gatchat/test-server.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/gatchat/test-server.c b/gatchat/test-server.c > index e574d64..c0a5a4d 100644 > --- a/gatchat/test-server.c > +++ b/gatchat/test-server.c > @@ -137,6 +137,12 @@ static void ppp_disconnect(GAtPPPDisconnectReason > reason, gpointer user) > g_at_ppp_unref(ppp); > ppp = NULL; > > + if (reason == G_AT_PPP_REASON_NET_FAIL) {
Don't you mean G_AT_PPP_REASON_LINK_DEAD? > + g_at_server_unref(server); > + server = NULL; > + return; > + } > + > g_at_server_resume(server); > g_at_server_set_debug(server, server_debug, "Server"); > Regards, -Denis _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono