aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-01-02 20:28:45 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-01-02 20:28:45 +0000
commitb76dc6b28c9e1a1693dbb64857797dfd2356f438 (patch)
treef79d9d4c57884e536b14f4e70e5e0d9001080a5a
parenta06e0b53839727a7911963bfc57e69a5f805ccc8 (diff)
downloadports-b76dc6b28c9e1a1693dbb64857797dfd2356f438.tar.gz
ports-b76dc6b28c9e1a1693dbb64857797dfd2356f438.zip
Notes
-rw-r--r--net-mgmt/collectd5/files/patch-src-curl_xml.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/collectd5/files/patch-src-curl_xml.c b/net-mgmt/collectd5/files/patch-src-curl_xml.c
new file mode 100644
index 000000000000..2bf78a9241ae
--- /dev/null
+++ b/net-mgmt/collectd5/files/patch-src-curl_xml.c
@@ -0,0 +1,11 @@
+--- src/curl_xml.c.orig 2013-08-18 14:24:25.069973000 +0400
++++ src/curl_xml.c 2014-01-03 00:25:17.000000000 +0400
+@@ -607,7 +607,7 @@
+ int status;
+ long rc;
+ char *ptr;
+- char *url;
++ char *url = NULL;
+
+ db->buffer_fill = 0;
+ status = curl_easy_perform (curl);