From db5f9da7b29900bc5b7a0a43e81053d69ffd366f Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Thu, 7 Jun 2012 01:09:44 +0000 Subject: 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. --- www/nginx/files/extra-patch-ngx_http_sflow_config.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 www/nginx/files/extra-patch-ngx_http_sflow_config.c (limited to 'www/nginx/files/extra-patch-ngx_http_sflow_config.c') diff --git a/www/nginx/files/extra-patch-ngx_http_sflow_config.c b/www/nginx/files/extra-patch-ngx_http_sflow_config.c new file mode 100644 index 000000000000..f67a6f25eb58 --- /dev/null +++ b/www/nginx/files/extra-patch-ngx_http_sflow_config.c @@ -0,0 +1,10 @@ +--- ../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; + } -- cgit v1.2.3