use correct data type for port

This commit is contained in:
Jeff Hill
1997-08-04 23:31:24 +00:00
parent 2e9dd7b93b
commit 9c2e2a9d9b

View File

@@ -184,7 +184,7 @@ int local_addr (int s, struct sockaddr_in *plcladdr)
* LOCK should be applied here for (pList)
* (this is also called from the server)
*/
void caDiscoverInterfaces(ELLLIST *pList, int socket, int port,
void caDiscoverInterfaces(ELLLIST *pList, int socket, unsigned short port,
struct in_addr matchAddr)
{
struct sockaddr_in localAddr;