librb: Fix type of dst for rb_inet_pton_sock()

This commit is contained in:
Simon Arlott 2019-08-31 16:10:50 +01:00
parent 8b96670079
commit 17809d2db7
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53
14 changed files with 26 additions and 25 deletions

View file

@ -112,7 +112,7 @@ mr_webirc(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sourc
return;
}
if (rb_inet_pton_sock(parv[4], (struct sockaddr *)&addr) <= 0)
if (rb_inet_pton_sock(parv[4], &addr) <= 0)
{
sendto_one(source_p, "NOTICE * :Invalid IP");
return;