diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-08-05 01:51:36 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-08-05 01:51:36 +0400 |
commit | ca824f3cfae1650143333c441ff36ed013febc87 (patch) | |
tree | dff11f0721f79785e7a286c04e3a353c534fdc12 /src/core/ngx_hash.c | |
parent | b47aed9005060d9f385f0832a43cc37dcf7d5993 (diff) |
update debug logging
Diffstat (limited to 'src/core/ngx_hash.c')
-rw-r--r-- | src/core/ngx_hash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ngx_hash.c b/src/core/ngx_hash.c index 2954266ae..98c4460ad 100644 --- a/src/core/ngx_hash.c +++ b/src/core/ngx_hash.c @@ -88,6 +88,10 @@ ngx_hash_find_wc_head(ngx_hash_wildcard_t *hwc, u_char *name, size_t len) value = ngx_hash_find(&hwc->hash, key, &name[n], len - n); +#if 0 + ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "value:\"%p\"", value); +#endif + if (value) { /* @@ -569,10 +573,6 @@ ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names, if (names[n].key.len == len) { wdc->value = names[n].value; -#if 0 - ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, - "wdc: \"%V\"", wdc->value); -#endif } name->value = (void *) ((uintptr_t) wdc | (dot ? 1 : 3)); |