Fix conditional statement

This commit is contained in:
Aki Niemi 2009-10-16 14:02:27 +03:00
parent 9ca602c283
commit 2a8159b21b
1 changed files with 2 additions and 1 deletions

View File

@ -171,7 +171,8 @@ static bool registration_resp_cb(GIsiClient *client, const void *restrict data,
NULL, NULL, NULL))
goto error;
if (!(status & (SS_GSM_ACTIVE | SS_GSM_REGISTERED)))
if (!(status & SS_GSM_ACTIVE)
|| !(status & SS_GSM_REGISTERED))
goto error;
break;