Change error number 2331 to 234
This commit is contained in:
@@ -44,7 +44,7 @@ DAT(226,"no head curve or power rating for pump")
|
|||||||
DAT(227,"invalid head curve for pump")
|
DAT(227,"invalid head curve for pump")
|
||||||
DAT(230,"nonincreasing x-values for curve")
|
DAT(230,"nonincreasing x-values for curve")
|
||||||
DAT(233,"network has unconnected nodes")
|
DAT(233,"network has unconnected nodes")
|
||||||
DAT(2331,"network has an unconnected node with ID: ")
|
DAT(234,"network has an unconnected node with ID: ")
|
||||||
|
|
||||||
// These errors apply only to API functions
|
// These errors apply only to API functions
|
||||||
DAT(240,"nonexistent source")
|
DAT(240,"nonexistent source")
|
||||||
|
|||||||
@@ -823,7 +823,7 @@ int unlinked(Project *pr)
|
|||||||
if (pr->network.Adjlist[i] == NULL)
|
if (pr->network.Adjlist[i] == NULL)
|
||||||
{
|
{
|
||||||
count++;
|
count++;
|
||||||
sprintf(pr->Msg, "Error 2331: %s %s", geterrmsg(2331, errmsg), net->Node[i].ID);
|
sprintf(pr->Msg, "Error 234: %s %s", geterrmsg(234, errmsg), net->Node[i].ID);
|
||||||
writeline(pr, pr->Msg);
|
writeline(pr, pr->Msg);
|
||||||
}
|
}
|
||||||
if (count >= 10) break;
|
if (count >= 10) break;
|
||||||
|
|||||||
Reference in New Issue
Block a user