gprs-provision: Fix crash if no SPN present

This commit is contained in:
Oleg Zhurakivskyy 2011-12-02 13:10:32 +02:00 committed by Denis Kenzior
parent 6e60296eed
commit 3e0e183d4c
1 changed files with 1 additions and 1 deletions

View File

@ -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");