Explorar el Código

fixed error in previous commit

z3APA3A hace 5 años
padre
commit
3a31da9b3d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/proxymain.c

+ 2 - 2
src/proxymain.c

@@ -1160,7 +1160,7 @@ struct ace * copyacl (struct ace *ac){
 			}
 			if(ch->next){
 				ch->next = itcopy(ch->next, sizeof(struct chain));
-				if(!ch->next) goto ERRORCHAINS;
+				if(!ch->next) goto ERRORNEXT;
 			}
 		}
 	}
@@ -1184,7 +1184,7 @@ ERRORDSTNAMES:
 	ac->chains = NULL;
 ERRORCHAINS:
 	ac->next = NULL;
-ERRORCHAINS:
+ERRORNEXT:
 	freeacl(ret);
 	return NULL;