Skip to content

Commit

Permalink
registrar: Fix a lookup() bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Apr 17, 2018
1 parent 2f3d7f8 commit 479b385
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/registrar/lookup.c
Expand Up @@ -269,9 +269,6 @@ ucontact_t **select_contacts(struct sip_msg *msg, ucontact_t *contacts,
goto skip_remaining;
}

if (count == 0)
return NULL;

skip_remaining:
selected_cts[count] = NULL;

Expand Down

0 comments on commit 479b385

Please sign in to comment.