[asterisk-commits] kmoore: branch kmoore/retry_forbidden r399619 - /team/kmoore/retry_forbidden/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Sep 21 14:55:39 CDT 2013
Author: kmoore
Date: Sat Sep 21 14:55:36 2013
New Revision: 399619
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399619
Log:
Fix some incorrect logical operators
Modified:
team/kmoore/retry_forbidden/res/res_pjsip_outbound_registration.c
Modified: team/kmoore/retry_forbidden/res/res_pjsip_outbound_registration.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/retry_forbidden/res/res_pjsip_outbound_registration.c?view=diff&rev=399619&r1=399618&r2=399619
==============================================================================
--- team/kmoore/retry_forbidden/res/res_pjsip_outbound_registration.c (original)
+++ team/kmoore/retry_forbidden/res/res_pjsip_outbound_registration.c Sat Sep 21 14:55:36 2013
@@ -428,8 +428,8 @@
}
} else {
if (response->code == 403
- || response->client_state->forbidden_retry_interval
- || response->client_state->retries < response->client_state->max_retries) {
+ && response->client_state->forbidden_retry_interval
+ && response->client_state->retries < response->client_state->max_retries) {
/* A forbidden response retry interval is configured and there are retries remaining */
response->client_state->status = SIP_REGISTRATION_REJECTED_TEMPORARY;
response->client_state->retries++;
More information about the asterisk-commits
mailing list