Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 3032:524ba56ba9f7
fix copy destination name length, introduced in r3025
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 20 Aug 2009 13:37:26 +0000 |
parents | 8101d9101ed8 |
children | 0278f13b04c5 |
comparison
equal
deleted
inserted
replaced
3031:98a8336c5b7c | 3032:524ba56ba9f7 |
---|---|
2659 { | 2659 { |
2660 return; | 2660 return; |
2661 } | 2661 } |
2662 } | 2662 } |
2663 | 2663 |
2664 path.len--; | |
2665 | |
2664 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2666 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2665 "upstream stores \"%s\" to \"%s\"", | 2667 "upstream stores \"%s\" to \"%s\"", |
2666 tf->file.name.data, path.data); | 2668 tf->file.name.data, path.data); |
2667 | 2669 |
2668 (void) ngx_ext_rename_file(&tf->file.name, &path, &ext); | 2670 (void) ngx_ext_rename_file(&tf->file.name, &path, &ext); |