diff options
-rw-r--r-- | examples/nettime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nettime.c b/examples/nettime.c index 60045be5..3843ce27 100644 --- a/examples/nettime.c +++ b/examples/nettime.c @@ -50,7 +50,7 @@ static void example_nettime_remove(struct ofono_nettime_context *context) static void example_nettime_info_received(struct ofono_nettime_context *context, struct ofono_network_time *info) { - if (!info) + if (info == NULL) return; ofono_debug("Received a network time notification on modem: %p", |