summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 50106acc..94d70dd9 100644
--- a/src/common.c
+++ b/src/common.c
@@ -492,7 +492,7 @@ gboolean valid_ussd_string(const char *str, gboolean call_in_progress)
if (str[len-1] == '#')
return TRUE;
- if (!call_in_progress && len == 2 && str[0] != '1')
+ if (!call_in_progress && len == 2 && str[0] == '1')
return FALSE;
if (len <= 2)