freebsd-ports/www/nginx-devel/files/extra-patch-ngx_http_sflow_config.c
Sergey A. Osokin db5f9da7b2 Add third-party slow module, v.0.9.6,
http://code.google.com/p/nginx-sflow-module/.

Do not bump PORTREVISION because this module is disabled by default.
2012-06-07 01:09:44 +00:00

10 lines
561 B
C

--- ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.c.orig 2012-06-07 04:52:57.000000000 +0400
+++ ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.c 2012-06-07 04:59:18.000000000 +0400
@@ -26,7 +26,6 @@
ngx_log_error(NGX_LOG_ERR, log, 0, "getaddrinfo() failed: %s", gai_strerror(err));
switch(err) {
case EAI_NONAME: break;
- case EAI_NODATA: break;
case EAI_AGAIN: break; // loop and try again?
default: ngx_log_error(NGX_LOG_ERR, log, 0, "getaddrinfo() error: %s", gai_strerror(err)); break;
}