aboutsummaryrefslogtreecommitdiff
path: root/www/freenginx/files/extra-patch-ngx_http_sflow_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/freenginx/files/extra-patch-ngx_http_sflow_config.c')
-rw-r--r--www/freenginx/files/extra-patch-ngx_http_sflow_config.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/freenginx/files/extra-patch-ngx_http_sflow_config.c b/www/freenginx/files/extra-patch-ngx_http_sflow_config.c
new file mode 100644
index 000000000000..3e3eaa2260f5
--- /dev/null
+++ b/www/freenginx/files/extra-patch-ngx_http_sflow_config.c
@@ -0,0 +1,10 @@
+--- ../nginx-sflow-module-543c72a/ngx_http_sflow_config.c.orig 2012-06-07 04:52:57.000000000 +0400
++++ ../nginx-sflow-module-543c72a/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;
+ }