projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4807571
)
fix authentication header extra space (issue #5329)
author
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 5 Oct 2005 01:40:01 +0000
(
01:40
+0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 5 Oct 2005 01:40:01 +0000
(
01:40
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6732
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
7a9aeb2
..
5a714dd
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-4135,7
+4135,7
@@
static int transmit_response_with_auth(struct sip_pvt *p, char *msg, struct sip_
}
/* 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);