Mercurial > hg > nginx
comparison src/core/ngx_inet.c @ 6597:0a820872dd4c
Fixed build on MSVC.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 20 Jun 2016 15:11:50 +0300 |
parents | b3b7e33083ac |
children | b802b7e1d9bc |
comparison
equal
deleted
inserted
replaced
6596:e778fe9a4463 | 6597:0a820872dd4c |
---|---|
579 | 579 |
580 if (rc != NGX_OK) { | 580 if (rc != NGX_OK) { |
581 return rc; | 581 return rc; |
582 } | 582 } |
583 | 583 |
584 ngx_inet_set_port(addr->sockaddr, port); | 584 ngx_inet_set_port(addr->sockaddr, (in_port_t) port); |
585 | 585 |
586 return NGX_OK; | 586 return NGX_OK; |
587 } | 587 } |
588 | 588 |
589 | 589 |