summaryrefslogtreecommitdiff
path: root/lib/grammar_sandbox.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 19:04:25 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:20:02 +0200
commit6d3c2ed4edb863d108239132b3e01daf07024f65 (patch)
treecca9737fab2548ec43a31def39cfab5a8affc83f /lib/grammar_sandbox.c
parent6b18e3b2e0dd57375f6908b40089a30bbf8f683f (diff)
*: remove VTYNL, part 1 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/grammar_sandbox.c')
-rw-r--r--lib/grammar_sandbox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/grammar_sandbox.c b/lib/grammar_sandbox.c
index c3e1898f10..edf55fba99 100644
--- a/lib/grammar_sandbox.c
+++ b/lib/grammar_sandbox.c
@@ -418,14 +418,14 @@ DEFUN (grammar_findambig,
prev->el->string);
vty_out (vty, " %s%s '%s'\n", cur->el->name, VTYNL,
cur->el->string);
- vty_out (vty, VTYNL);
+ vty_out (vty, "\n");
ambig++;
}
prev = cur;
}
list_delete (commands);
- vty_out (vty, VTYNL);
+ vty_out (vty, "\n");
} while (scan && scannode < LINK_PARAMS_NODE);
vty_out (vty, "%d ambiguous commands found.\n", ambig);
@@ -543,7 +543,7 @@ pretty_print_graph (struct vty *vty, struct graph_node *start, int level,
if (numto)
{
if (numto > 1)
- vty_out (vty, VTYNL);
+ vty_out (vty, "\n");
for (unsigned int i = 0; i < vector_active (start->to); i++)
{
struct graph_node *adj = vector_slot (start->to, i);
@@ -569,7 +569,7 @@ pretty_print_graph (struct vty *vty, struct graph_node *start, int level,
}
}
else
- vty_out (vty, VTYNL);
+ vty_out (vty, "\n");
}
static void