commit:     95c2469521282b6359efed1ca4edb959c7dcbbd7
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 09:47:27 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec 14 09:48:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c24695

net-analyzer/cacti-spine: Update patch

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch 
b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
index 0d94674ce5a..55dc8754c8d 100644
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
+++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
@@ -1,11 +1,11 @@
 --- a/ping.c
 +++ b/ping.c
-@@ -813,7 +813,7 @@
-       int    rv;
+@@ -913,7 +913,7 @@
+       struct hostent result;
  
        buf = malloc(len*sizeof(char));
 -      memset(buf, 0, sizeof(buf));
 +      memset(buf, 0, len*sizeof(char));
  
        while (1) {
-               rv = gethostbyname_r(hostname, &result_buf, buf, len,
+               hostinfo = gethostbyname_r(hostname, &result, buf, len, 
&h_errno);

Reply via email to