[Asterisk-code-review] res/res pjsip session: Only check localnet if it is defined (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Thu Mar 16 17:16:21 CDT 2017


Richard Mudgett has posted comments on this change. ( https://gerrit.asterisk.org/5229 )

Change subject: res/res_pjsip_session: Only check localnet if it is defined
......................................................................


Patch Set 5:

(1 comment)

https://gerrit.asterisk.org/#/c/5229/5/res/res_pjsip_session.c
File res/res_pjsip_session.c:

Line 3116: 			|| (transport_state->localnet
The check of transport_state->localnet being non-NULL is redundant here.  It can never be NULL at this point because you have already checked for NULL in the first part of the logical or expression.


-- 
To view, visit https://gerrit.asterisk.org/5229
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib661c31a954cabc9c99f1f25c9c9a5c5b82cbbfb
Gerrit-PatchSet: 5
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list