summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-11-13 16:33:17 +0100
committerThomas Haller <thaller@redhat.com>2015-11-13 16:33:17 +0100
commitb395cc0cdd3629bb71b475a469159d4b6e118bfe (patch)
treeae1fff3a3c4c5894d84210618de3523f09964c3d
parent349e9b5d801bb7f1618ab92186970e486fd184a4 (diff)
downloadNetworkManager-b395cc0cdd3629bb71b475a469159d4b6e118bfe.tar.gz
fixup! cli: add support for GSM setting device-id, sim-id, and sim-operator-id properties
-rw-r--r--clients/cli/settings.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/cli/settings.c b/clients/cli/settings.c
index 7dc894b87f..5b075d628f 100644
--- a/clients/cli/settings.c
+++ b/clients/cli/settings.c
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <arpa/inet.h>
-#include <ctype.h>
#include "nm-default.h"
#include "utils.h"
@@ -5167,7 +5166,7 @@ nmc_property_gsm_set_sim_operator_id (NMSetting *setting, const char *prop, cons
}
while (p && *p) {
- if (!isdigit (*p++)) {
+ if (!g_ascii_isdigit (*p++)) {
g_set_error_literal (error, 1, 0, _("SIM operator ID must be a 5 or 6 number MCCMNC code"));
return FALSE;
}