[asterisk-commits] oej: trunk r48167 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Nov 30 13:55:43 MST 2006


Author: oej
Date: Thu Nov 30 14:55:43 2006
New Revision: 48167

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48167
Log:
Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=48167&r1=48166&r2=48167
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Nov 30 14:55:43 2006
@@ -7347,7 +7347,8 @@
 		ast_string_field_set(p, domain, r->domain);
 		ast_string_field_set(p, opaque, r->opaque);
 		ast_string_field_set(p, qop, r->qop);
-		p->noncecount = r->noncecount++;
+		r->noncecount++;
+		p->noncecount = r->noncecount;
 
 		memset(digest,0,sizeof(digest));
 		if(!build_reply_digest(p, sipmethod, digest, sizeof(digest)))



More information about the asterisk-commits mailing list