You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
84b96eeadf
Also fix unescaped quotes in the description git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@6060 d073be05-634f-4543-b044-5fe20cf6d1d6
12 lines
443 B
C
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)))
|