[asterisk-commits] oej: branch 1.2 r48165 -
/branches/1.2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Nov 30 13:47:54 MST 2006
Author: oej
Date: Thu Nov 30 14:47:53 2006
New Revision: 48165
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48165
Log:
Issue 8319 - noriyuki - nonce-count updated *after* use
Modified:
branches/1.2/channels/chan_sip.c
Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=48165&r1=48164&r2=48165
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Thu Nov 30 14:47:53 2006
@@ -5661,7 +5661,8 @@
ast_copy_string(p->domain, r->domain, sizeof(p->domain));
ast_copy_string(p->opaque, r->opaque, sizeof(p->opaque));
ast_copy_string(p->qop, r->qop, sizeof(p->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