From a7f56345112d5666e5a236c54af31edcac9c1aa0 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Tue, 25 Jan 2005 23:49:30 +0000 Subject: - Update to 5.2.1. - Add a patch to fix memory leak (SF bugs #1103644). - Add WITH_DMALLOC knob (with a lot of patches to fix #include order). --- net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c (limited to 'net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c') diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c b/net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c new file mode 100644 index 000000000000..8ed548828d8c --- /dev/null +++ b/net-mgmt/net-snmp-devel/files/patch-snmpUDPDomain.c @@ -0,0 +1,11 @@ +--- snmplib/snmpUDPDomain.c.orig Mon Jan 24 10:47:16 2005 ++++ snmplib/snmpUDPDomain.c Mon Jan 24 10:47:41 2005 +@@ -88,7 +88,7 @@ + } else { + char tmp[64]; + +- sprintf(tmp, "UDP: [%s]:%hd", ++ sprintf(tmp, "UDP: [%s]:%hu", + inet_ntoa(to->sin_addr), ntohs(to->sin_port)); + return strdup(tmp); + } -- cgit v1.2.3