mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-24 02:55:40 +08:00
Fix ACL copy for last patch
This commit is contained in:
parent
4251322aad
commit
e75b329e62
@ -1025,6 +1025,7 @@ struct ace * copyacl (struct ace *ac){
|
|||||||
for(ch = ac->chains; ch; ch = ch->next = itcopy(ch->next, sizeof(struct chain))){
|
for(ch = ac->chains; ch; ch = ch->next = itcopy(ch->next, sizeof(struct chain))){
|
||||||
if(ch->extuser)ch->extuser = (unsigned char*)mystrdup((char *)ch->extuser);
|
if(ch->extuser)ch->extuser = (unsigned char*)mystrdup((char *)ch->extuser);
|
||||||
if(ch->extpass)ch->extpass = (unsigned char*)mystrdup((char *)ch->extpass);
|
if(ch->extpass)ch->extpass = (unsigned char*)mystrdup((char *)ch->extpass);
|
||||||
|
if(ch->exthost)ch->exthost = (unsigned char*)mystrdup((char *)ch->exthost);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user