comparison src/http/ngx_http_file_cache.c @ 3695:1c016de812af

style fix
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Jul 2010 13:10:05 +0000
parents dfb17155eca9
children 29fcf794c082
comparison
equal deleted inserted replaced
3694:dfb17155eca9 3695:1c016de812af
1109 len = NGX_HTTP_CACHE_KEY_LEN - sizeof(ngx_rbtree_key_t); 1109 len = NGX_HTTP_CACHE_KEY_LEN - sizeof(ngx_rbtree_key_t);
1110 p = ngx_hex_dump(p, fcn->key, len); 1110 p = ngx_hex_dump(p, fcn->key, len);
1111 *p = '\0'; 1111 *p = '\0';
1112 1112
1113 ngx_queue_remove(q); 1113 ngx_queue_remove(q);
1114
1115 ngx_rbtree_delete(&cache->sh->rbtree, &fcn->node); 1114 ngx_rbtree_delete(&cache->sh->rbtree, &fcn->node);
1116
1117 ngx_slab_free_locked(cache->shpool, fcn); 1115 ngx_slab_free_locked(cache->shpool, fcn);
1118 1116
1119 ngx_shmtx_unlock(&cache->shpool->mutex); 1117 ngx_shmtx_unlock(&cache->shpool->mutex);
1120 1118
1121 len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; 1119 len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN;