(res_isourserver): Fix cast.

This commit is contained in:
Andreas Schwab 2001-04-02 11:40:38 +00:00
parent 2a56ca2a5a
commit c92f8aa633

View File

@ -205,7 +205,7 @@ res_send_setrhook(res_send_rhook hook) {
int
res_isourserver(const struct sockaddr_in *inp) {
return (res_ourserver_p((const struct sockaddr_in6 *) &_res, inp));
return (res_ourserver_p(&_res, (const struct sockaddr_in6 *) inp));
}
int