nginx-0.0.1-2003-11-03-01:56:18 import
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index 84e86ff..80ad9dc 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -12,7 +12,7 @@
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 @@
}
}
- 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);
}