diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-08 20:48:12 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-08 20:48:12 +0000 |
commit | 5f80078c675bc344d12a6a64d97ecafb64de224b (patch) | |
tree | e4ff5330121ef71ffe558ccaa9210218802ff537 /src/core/ngx_file.c | |
parent | 62260f2a158e27e5f6b1689e10dc25ea3c617473 (diff) | |
download | nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.tar.gz nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.zip |
nginx-0.0.1-2003-12-08-23:48:12 import
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r-- | src/core/ngx_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c index 4cbd8fc2c..3b29bec07 100644 --- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c @@ -14,7 +14,7 @@ int ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain) if (tf->file.fd == NGX_INVALID_FILE) { rc = ngx_create_temp_file(&tf->file, tf->path, tf->pool, tf->persistent); - + if (rc == NGX_ERROR || rc == NGX_AGAIN) { return rc; } |