Searched refs:portnum (Results 1 – 4 of 4) sorted by relevance
/curl/tests/unit/ |
H A D | unit1653.c | 64 char *portnum; variable 100 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0); 102 fail_unless(portnum && !strcmp(portnum, "808"), "Check portnumber"); 104 curl_free(portnum); 117 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0); 119 fail_unless(portnum && !strcmp(portnum, "80"), "Check portnumber"); 120 curl_free(portnum); 147 fail_unless(portnum && !strcmp(portnum, "81"), "Check portnumber"); 148 curl_free(portnum); 199 fail_unless(portnum && !strcmp(portnum, "180"), "Check portnumber"); [all …]
|
/curl/lib/ |
H A D | urlapi.c | 81 unsigned short portnum; /* the numerical version (if 'port' is set) */ member 562 u->portnum = (unsigned short) port; in Curl_parse_port() 1401 u->portnum = in->portnum; in curl_url_dup() 1476 if(h && (h->defport == u->portnum) && in curl_url_get() 1544 if(h && (h->defport == u->portnum) && in curl_url_get() 1741 u->portnum = 0; in curl_url_set() 1833 u->portnum = (unsigned short)port; in curl_url_set()
|
H A D | multi.c | 1942 char *portnum; 1950 uc = curl_url_get(data->state.uh, CURLUPART_PORT, &portnum, 1956 port = atoi(portnum); 1957 free(portnum);
|
H A D | cf-socket.c | 583 int portnum = data->set.localportrange; in bindlocal() local 796 if(--portnum > 0) { in bindlocal()
|
Completed in 22 milliseconds