* This function can accept a NULL pointer as `addr', in which case
* it will only check the host name.
*/
* This function can accept a NULL pointer as `addr', in which case
* it will only check the host name.
*/
-static int proxy_for_destination (SockAddr addr, char *hostname, int port,
- Conf *conf)
+static int proxy_for_destination (SockAddr addr, const char *hostname,
+ int port, Conf *conf)