mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
a7f5634511
- Add a patch to fix memory leak (SF bugs #1103644). - Add WITH_DMALLOC knob (with a lot of patches to fix #include order).
12 lines
339 B
C
12 lines
339 B
C
--- 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);
|
|
}
|