Skip to content

Commit

Permalink
b2b_entities: Fix missing macro in previous commit
Browse files Browse the repository at this point in the history
(cherry picked from commit 2b807ad)
  • Loading branch information
liviuchircu committed Nov 18, 2022
1 parent ade0328 commit 13e5154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/b2b_entities/dlg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1656,15 +1656,15 @@ int b2b_send_reply(b2b_rpl_data_t* rpl_data)

if(parse_headers(msg, HDR_EOH_F, 0) < 0)
{
B2BE_LOCK_RELEASE(table, hash_index);
lock_release(&table[hash_index].lock);
LM_ERR("Failed to parse headers\n");
return 0;
}

pto = get_to(msg);
if (pto == NULL || pto->error != PARSE_OK)
{
B2BE_LOCK_RELEASE(table, hash_index);
lock_release(&table[hash_index].lock);
LM_ERR("'To' header COULD NOT parsed\n");
return 0;
}
Expand Down

0 comments on commit 13e5154

Please sign in to comment.