Fix phonebook problem when charset is in a list

This commit is contained in:
Yang Gu 2009-07-27 13:54:36 +08:00 committed by Denis Kenzior
parent 426d201b2e
commit 57120b7156
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ static void at_list_charsets_cb(gboolean ok, GAtResult *result,
at->pb->supported |= CHARSET_UCS2;
}
if (in_list && g_at_result_iter_close_list(&iter))
if (in_list && !g_at_result_iter_close_list(&iter))
goto error;
if (!(at->pb->supported & CHARSET_SUPPORT))