gsm: fix wrong comparison

Bug didn't have much of an effect, but should be fixed anyway.
This commit is contained in:
Dan Williams
2010-03-25 13:47:30 -07:00
parent 0b9c173fe9
commit 4dbc2f2e9b

View File

@@ -1370,7 +1370,7 @@ convert_operator_from_ucs2 (char **operator)
len = strlen (p);
/* Len needs to be a multiple of 4 for UCS2 */
if ((len < 4) && ((len % 4) != 0))
if ((len < 4) || ((len % 4) != 0))
return;
while (*p) {