Fix ACL copy for last patch

This commit is contained in:
z3APA3A 2017-03-07 15:06:22 +03:00
parent 4251322aad
commit e75b329e62

View File

@ -1025,6 +1025,7 @@ struct ace * copyacl (struct ace *ac){
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->extpass)ch->extpass = (unsigned char*)mystrdup((char *)ch->extpass);
if(ch->exthost)ch->exthost = (unsigned char*)mystrdup((char *)ch->exthost);
}
}
return ret;