summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2003-02-11 21:44:02 +0000
committerStefan Esser <sesser@php.net>2003-02-11 21:44:02 +0000
commita0873a8f7dac210d431dbb3d80670124f4e1f3c3 (patch)
treee8289344428d7299948c0e35f6f490164d51a23e /main/SAPI.c
parentd2c550e991cbd0eeaa76df0163b09626763fe45f (diff)
downloadphp-git-a0873a8f7dac210d431dbb3d80670124f4e1f3c3.tar.gz
size matters not.
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 692a52a919..cbe23ba575 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -626,7 +626,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC)
/* If there is no realm string at all, append one */
if(!strstr(lower_temp,"realm")) {
efree(result);
- conv_len = sprintf(conv_temp, sizeof(conv_temp), " realm=\"%ld\"",myuid);
+ conv_len = sprintf(conv_temp, " realm=\"%ld\"",myuid);
result = emalloc(ptr_len+conv_len+1);
result_len = ptr_len+conv_len;
memcpy(result, ptr, ptr_len);