]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
long port => int port, as the c source uses! (Miklos Nemeth found this)
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 Nov 2001 20:08:01 +0000 (20:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Nov 2001 20:08:01 +0000 (20:08 +0000)
lib/connect.h

index 8d36365e549602da33f8160ee66c4242c4060fab..f8c10db0607e287ed7fb6245c6a42bf58eed5b45 100644 (file)
@@ -28,7 +28,7 @@ int Curl_nonblock(int socket,    /* operate on this */
 
 CURLcode Curl_connecthost(struct connectdata *conn,
                           Curl_addrinfo *host, /* connect to this */
-                          long port,      /* connect to this port number */
+                          int port,       /* connect to this port number */
                           int *sockconn,  /* not set if error is returned */
                           Curl_ipconnect **addr /* the one we used */
                           ); /*  index we used */