version 1.62, 2006/04/25 05:45:20 |
version 1.63, 2006/05/16 16:20:42 |
|
|
snprintf(pbuf, sizeof(pbuf), "%d", GATE_PORT); |
snprintf(pbuf, sizeof(pbuf), "%d", GATE_PORT); |
else if (strcmp(port, "http") == 0) |
else if (strcmp(port, "http") == 0) |
snprintf(pbuf, sizeof(pbuf), "%d", HTTP_PORT); |
snprintf(pbuf, sizeof(pbuf), "%d", HTTP_PORT); |
|
#ifndef SMALL |
|
else if (strcmp(port, "https") == 0) |
|
snprintf(pbuf, sizeof(pbuf), "%d", HTTPS_PORT); |
|
#endif |
if (pbuf[0]) |
if (pbuf[0]) |
error = getaddrinfo(host, pbuf, &hints, &res0); |
error = getaddrinfo(host, pbuf, &hints, &res0); |
} |
} |