cant++;
its = (t_Item *)realloc(its, cant*sizeof(t_Item));
if (its != NULL) {
+ art_actualizar_stock(atoi(entrada), atoi(cv));
its[cant-1].numero = atoi(entrada);
- strcpy(its[cant-1].cv, form_obtener_valor_char(form, "CV"));
+ strcpy(its[cant-1].cv, cv);
strcpy(its[cant-1].pvu, art->pvu);
}
free(art);