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);

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to