[asterisk-commits] file: branch 1.4 r81395 - /branches/1.4/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 30 16:23:51 CDT 2007
Author: file
Date: Thu Aug 30 16:23:50 2007
New Revision: 81395
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81395
Log:
(closes issue #10514)
Reported by: casper
Patches:
chan_sip.c.80129.diff uploaded by casper (license 55)
Remove needless check for AUTH_UNKNOWN_DOMAIN. It was impossible for it to ever be that value.
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=81395&r1=81394&r2=81395
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Aug 30 16:23:50 2007
@@ -8552,7 +8552,7 @@
transmit_fake_auth_response(p, &p->initreq, 1);
} else {
/* URI not found */
- if (res == AUTH_UNKNOWN_DOMAIN || res == AUTH_PEER_NOT_DYNAMIC)
+ if (res == AUTH_PEER_NOT_DYNAMIC)
transmit_response(p, "403 Forbidden", &p->initreq);
else
transmit_response(p, "404 Not found", &p->initreq);
More information about the asterisk-commits
mailing list