Skip to content

Commit f2bf35a

Browse files
authored
Merge pull request #2015 from l2dy/osp
osp: fix errorcode in log
2 parents 2d604cd + 73b6ba0 commit f2bf35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/osp/term_transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ int ospValidateHeader(
9191
ospInitInboundInfo(&inbound);
9292
ospInitDestination(&dest);
9393

94-
if ((errorcode = OSPPTransactionNew(_osp_provider, &transaction) != OSPC_ERR_NO_ERROR)) {
94+
if ((errorcode = OSPPTransactionNew(_osp_provider, &transaction)) != OSPC_ERR_NO_ERROR) {
9595
LM_ERR("failed to create a new OSP transaction handle (%d)\n", errorcode);
9696
} else if (ospGetFromUser(msg, dest.calling, sizeof(dest.calling)) != 0) {
9797
LM_ERR("failed to extract calling number\n");

0 commit comments

Comments
 (0)