aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-02 22:56:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-02 22:56:18 +0000
commit659774979feb9741a441505e26774b35830fd4ca (patch)
tree596059bbe20959ad54cbfde8bcdf24cd7f9e9f83 /src/core/ngx_file.c
parentfe0f5cc6e1e48412235ae91c2f71ec2ec9110a60 (diff)
downloadnginx-659774979feb9741a441505e26774b35830fd4ca.tar.gz
nginx-659774979feb9741a441505e26774b35830fd4ca.zip
nginx-0.0.1-2003-11-03-01:56:18 import
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r--src/core/ngx_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index 84e86fffc..80ad9dc8a 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -12,7 +12,7 @@ int ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain)
int rc;
if (tf->file.fd == NGX_INVALID_FILE) {
- rc = ngx_create_temp_file(&tf->file, &tf->path, tf->pool,
+ rc = ngx_create_temp_file(&tf->file, tf->path, tf->pool,
tf->persistent);
if (rc == NGX_ERROR || rc == NGX_AGAIN) {
@@ -24,7 +24,7 @@ int ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain)
}
}
- return ngx_write_chain_to_file(&tf->file, chain, tf->file.offset, tf->pool);
+ return ngx_write_chain_to_file(&tf->file, chain, tf->offset, tf->pool);
}