comparison src/http/modules/ngx_http_dav_module.c @ 1693:f4eb04fd8579

use malloc() in ngx_win32_rename_file, set crit level instead of error
author Igor Sysoev <igor@sysoev.ru>
date Fri, 07 Dec 2007 19:57:13 +0000
parents aabbf66b61ea
children b87ce8dcba37
comparison
equal deleted inserted replaced
1692:2f091d33dcb3 1693:f4eb04fd8579
293 } 293 }
294 294
295 #if (NGX_WIN32) 295 #if (NGX_WIN32)
296 296
297 if (err == NGX_EEXIST) { 297 if (err == NGX_EEXIST) {
298 if (ngx_win32_rename_file(temp, &path, r->pool) != NGX_ERROR) { 298 if (ngx_win32_rename_file(temp, &path, r->connection->log) == NGX_OK) {
299 299
300 if (ngx_rename_file(temp->data, path.data) != NGX_FILE_ERROR) { 300 if (ngx_rename_file(temp->data, path.data) != NGX_FILE_ERROR) {
301 goto ok; 301 goto ok;
302 } 302 }
303 } 303 }