Files
Toby Peterson 84b96eeadf Bump to 0.5.7 (security fix), fix destrooting (manpages were going into $prefix).
Also fix unescaped quotes in the description

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@6060 d073be05-634f-4543-b044-5fe20cf6d1d6
2004-03-27 20:13:21 +00:00

12 lines
443 B
C

--- src/ample.c.orig Sat Mar 27 15:01:42 2004
+++ src/ample.c Sat Mar 27 15:01:48 2004
@@ -92,7 +92,7 @@
setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));
address.sin_family = AF_INET;
- address.sin_port = htons((uint16_t)gconf.port);
+ address.sin_port = htons((u_int16_t)gconf.port);
memset(&(address.sin_addr), 0, sizeof(address.sin_addr));
if(bind(sock, (struct sockaddr *)&address, sizeof(struct sockaddr_in)))