strlcpy -> rb_strlcpy
This commit is contained in:
parent
6af128685d
commit
f427c8b00d
43 changed files with 118 additions and 152 deletions
|
@ -229,7 +229,7 @@ m_challenge(struct Client *client_p, struct Client *source_p, int parc, const ch
|
|||
source_p->localClient->chal_time = rb_current_time();
|
||||
for(;;)
|
||||
{
|
||||
cnt = strlcpy(chal_line, chal, CHALLENGE_WIDTH);
|
||||
cnt = rb_strlcpy(chal_line, chal, CHALLENGE_WIDTH);
|
||||
sendto_one(source_p, form_str(RPL_RSACHALLENGE2), me.name, source_p->name, chal_line);
|
||||
if(cnt > CHALLENGE_WIDTH)
|
||||
chal += CHALLENGE_WIDTH - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue