common: Match logic to comment: valid_ussd_string

This commit is contained in:
Denis Kenzior 2012-06-18 08:59:04 -05:00
parent cb571f807f
commit 333bb8b1d3
1 changed files with 1 additions and 1 deletions

View File

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