diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-06-18 08:59:04 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-06-18 08:59:04 -0500 |
commit | 333bb8b1d368af43579da9ab984385154f94a56d (patch) | |
tree | f3030fc82c95987b2cb1f187a0d14add4b97d8eb /src/common.c | |
parent | cb571f807fb253da2d7bb0c8d4d1f1638a8e14ae (diff) | |
download | ofono-333bb8b1d368af43579da9ab984385154f94a56d.tar.bz2 |
common: Match logic to comment: valid_ussd_string
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 2 |
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) |