Mercurial > hg > nginx
comparison src/core/ngx_cycle.c @ 2688:9bcda0da8d36
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 08 Apr 2009 19:51:30 +0000 |
parents | 5190c5dc3486 |
children | d5896f6608e8 |
comparison
equal
deleted
inserted
replaced
2687:5190c5dc3486 | 2688:9bcda0da8d36 |
---|---|
920 #if !(NGX_WIN32) | 920 #if !(NGX_WIN32) |
921 | 921 |
922 ngx_int_t | 922 ngx_int_t |
923 ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log) | 923 ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log) |
924 { | 924 { |
925 size_t len; | 925 size_t len; |
926 ngx_uint_t create; | 926 ngx_uint_t create; |
927 ngx_file_t file; | 927 ngx_file_t file; |
928 u_char pid[NGX_INT64_LEN + 2]; | 928 u_char pid[NGX_INT64_LEN + 2]; |
929 | 929 |
930 ngx_memzero(&file, sizeof(ngx_file_t)); | 930 ngx_memzero(&file, sizeof(ngx_file_t)); |
931 | 931 |
932 file.name = *name; | 932 file.name = *name; |
933 file.log = log; | 933 file.log = log; |