librb: Fix type of dst for rb_inet_pton_sock()
This commit is contained in:
parent
8b96670079
commit
17809d2db7
14 changed files with 26 additions and 25 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue