updating get demand name and write demands
Everything passing locally
This commit is contained in:
@@ -2873,6 +2873,8 @@ int DLLEXPORT EN_getdemandname(EN_Project p, int nodeIndex, int demandIndex,
|
|||||||
free(temp);
|
free(temp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else return 253;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -152,10 +152,10 @@ void write_demands(Project *pr, FILE *f) {
|
|||||||
|
|
||||||
fprintf(f, "\n%s %-31s", s, s1);
|
fprintf(f, "\n%s %-31s", s, s1);
|
||||||
|
|
||||||
//if (temp = get_category_name(lnode)) {
|
if (temp = get_category_name(lnode)) {
|
||||||
// fprintf(f, " ;%s", temp);
|
fprintf(f, " ;%s", temp);
|
||||||
// free(temp);
|
free(temp);
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user