[Asterisk-cvs] asterisk/channels chan_sip.c,1.881,1.882

kpfleming kpfleming
Tue Oct 4 21:44:15 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv2839/channels

Modified Files:
	chan_sip.c 
Log Message:
fix authentication header extra space (issue #5329)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.881
retrieving revision 1.882
diff -u -d -r1.881 -r1.882
--- chan_sip.c	5 Oct 2005 01:31:29 -0000	1.881
+++ chan_sip.c	5 Oct 2005 01:40:01 -0000	1.882
@@ -4135,7 +4135,7 @@
 	}
 	/* Stale means that they sent us correct authentication, but 
 	   based it on an old challenge (nonce) */
-	snprintf(tmp, sizeof(tmp), "Digest realm=\"%s\", nonce=\"%s\" %s", global_realm, randdata, stale ? ", stale=true" : "");
+	snprintf(tmp, sizeof(tmp), "Digest realm=\"%s\", nonce=\"%s\"%s", global_realm, randdata, stale ? ", stale=true" : "");
 	respprep(&resp, p, msg, req);
 	add_header(&resp, header, tmp);
 	add_header_contentLength(&resp, 0);




More information about the svn-commits mailing list