Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
use smart js_log()
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-leonov committed Jun 3, 2010
1 parent 56a77e6 commit d5a0850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/Dir.c
Expand Up @@ -59,7 +59,7 @@ method_create(JSContext *cx, JSObject *self, uintN argc, jsval *argv, jsval *rva

access = dp;

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0, "ngx_create_dir(\"%s\", %d)", path, access);
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, js_log(), 0, "ngx_create_dir(\"%s\", %d)", path, access);
*rval = INT_TO_JSVAL(ngx_create_dir(path, access));

return JS_TRUE;
Expand Down

0 comments on commit d5a0850

Please sign in to comment.