Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpaiu committed Jan 14, 2025
1 parent 32af98a commit f0dd050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/domain/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int hash_table_lookup (struct sip_msg *msg, str *domain, pv_spec_t *pv)
struct domain_list *np;
pv_value_t val;

if (!domain || domain->s) {
if (!domain || !domain->s) {
LM_ERR("NULL domain provided\n");
return -1;
}
Expand Down

0 comments on commit f0dd050

Please sign in to comment.