diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 11:46:30 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 11:46:30 -0500 |
commit | 7428d8a59298d6a7e45cfdbfa937a770393aaa1c (patch) | |
tree | 9b381abc8774cda9dd2fad25a0ec97c0670cd8b5 /ted.c | |
parent | dbdafec9069e69005b523bc60acbfcb59224078d (diff) |
make node.c a bit clearer
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,7 +52,7 @@ void ted_clearerr(Ted *ted) { } -static void ted_out_of_mem(Ted *ted) { +void ted_out_of_mem(Ted *ted) { ted_seterr(ted, "Out of memory."); } @@ -599,8 +599,8 @@ void ted_cancel_lsp_request(Ted *ted, LSPID lsp, LSPRequestID request) { static void mark_node_reachable(Ted *ted, u16 node, bool reachable[TED_MAX_NODES]) { if (reachable[node]) { - ted_seterr(ted, "NODE CYCLE %u\nThis should never happen.", node); - ted_log(ted, "NODE CYCLE %u\n", node); + ted_seterr(ted, "Node %u reachable in 2 different ways\nThis should never happen.", node); + ted_log(ted, "Node %u reachable in 2 different ways\n", node); node_close(ted, node); return; } |