Skip to content

Commit 5f34fec

Browse files
authored
Unused cleanup (3a8c08a, #11)
1 parent b7cbd6b commit 5f34fec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ngx_cache_purge_module.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,7 @@ ngx_http_cache_purge_send_response(ngx_http_request_t *r) {
15381538
return NGX_HTTP_INTERNAL_SERVER_ERROR;
15391539
}
15401540

1541-
//p = ngx_snprintf(buf, resp_tmpl_len, resp_body , buf_keydata, r->cache->file.name.data);
1542-
p = ngx_snprintf(buf, resp_tmpl_len, resp_body , buf_keydata, buf_keydata);
1541+
p = ngx_snprintf(buf, resp_tmpl_len, resp_body , buf_keydata);
15431542
if (p == NULL) {
15441543
return NGX_HTTP_INTERNAL_SERVER_ERROR;
15451544
}

0 commit comments

Comments
 (0)