comparison src/core/ngx_connection.c @ 552:43e02819c5cf NGINX_0_8_28

nginx 0.8.28 *) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.8.25.
author Igor Sysoev <http://sysoev.ru>
date Mon, 23 Nov 2009 00:00:00 +0300
parents 2b9e388c61f1
children 5c576ea5dbd9
comparison
equal deleted inserted replaced
551:8af5b52635d0 552:43e02819c5cf
632 } 632 }
633 633
634 #if (NGX_HAVE_UNIX_DOMAIN) 634 #if (NGX_HAVE_UNIX_DOMAIN)
635 635
636 if (ls[i].sockaddr->sa_family == AF_UNIX 636 if (ls[i].sockaddr->sa_family == AF_UNIX
637 && ngx_process != NGX_PROCESS_WORKER 637 && ngx_process <= NGX_PROCESS_MASTER
638 && ngx_new_binary == 0) 638 && ngx_new_binary == 0)
639 { 639 {
640 u_char *name = ls[i].addr_text.data + sizeof("unix:") - 1; 640 u_char *name = ls[i].addr_text.data + sizeof("unix:") - 1;
641 641
642 if (ngx_delete_file(name) == -1) { 642 if (ngx_delete_file(name) == -1) {