diff options
author | Stefan Esser <sesser@php.net> | 2004-07-14 09:55:24 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2004-07-14 09:55:24 +0000 |
commit | 90f151470cfb0096c07a2ac04a985f156dcfb487 (patch) | |
tree | 756dc2603b24c8b2cacfcfdca7103fdaf5db3ce4 /sapi/apache_hooks/mod_php5.c | |
parent | edce707f3ba60a84052220f219b4dfdd5b4a7887 (diff) | |
download | php-git-90f151470cfb0096c07a2ac04a985f156dcfb487.tar.gz |
same bug.
Diffstat (limited to 'sapi/apache_hooks/mod_php5.c')
-rw-r--r-- | sapi/apache_hooks/mod_php5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache_hooks/mod_php5.c b/sapi/apache_hooks/mod_php5.c index 547aed7400..516a465c2b 100644 --- a/sapi/apache_hooks/mod_php5.c +++ b/sapi/apache_hooks/mod_php5.c @@ -583,7 +583,7 @@ static void init_request_info(TSRMLS_D) tmp = uudecode(r->pool, authorization); SG(request_info).auth_user = NULL; tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); - if (SG(request_info).auth_user) { + if (tmp_user) { r->connection->user = pstrdup(r->connection->pool, tmp_user); r->connection->ap_auth_type = "Basic"; SG(request_info).auth_user = estrdup(tmp_user); |