Explorar o código

Fix ACL copy for last patch

z3APA3A %!s(int64=8) %!d(string=hai) anos
pai
achega
e75b329e62
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/proxymain.c

+ 1 - 0
src/proxymain.c

@@ -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;