summaryrefslogtreecommitdiffstats
path: root/gatchat/gsmdial.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r--gatchat/gsmdial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c
index 57d0d9e9..22ff2ff2 100644
--- a/gatchat/gsmdial.c
+++ b/gatchat/gsmdial.c
@@ -303,7 +303,7 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data)
/* open ppp */
ppp = g_at_ppp_new_from_io(io);
- if (!ppp) {
+ if (ppp == NULL) {
g_print("Unable to create PPP object\n");
exit(1);
}