From 3e0e183d4c5acd51ed1b2ca330701a86e7dc5da8 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakivskyy Date: Fri, 2 Dec 2011 13:10:32 +0200 Subject: gprs-provision: Fix crash if no SPN present --- examples/provision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/provision.c') diff --git a/examples/provision.c b/examples/provision.c index 546a1618..3f9d124f 100644 --- a/examples/provision.c +++ b/examples/provision.c @@ -49,7 +49,7 @@ static int example_provision_get_settings(const char *mcc, const char *mnc, mcc, mnc, spn); if (strcmp(mcc, "246") != 0 || strcmp(mnc, "81") != 0 || - strcmp(spn, "oFono") != 0) + g_strcmp0(spn, "oFono") != 0) return -ENOENT; ofono_debug("Creating example settings for phonesim"); -- cgit v1.2.3