Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: initial RISC-V support
[vpp.git]
/
src
/
vppinfra
/
format_table.c
diff --git
a/src/vppinfra/format_table.c
b/src/vppinfra/format_table.c
index
b698cfd
..
8b218f5
100644
(file)
--- a/
src/vppinfra/format_table.c
+++ b/
src/vppinfra/format_table.c
@@
-52,7
+52,7
@@
format_text_cell (table_t *t, u8 *s, table_cell_t *c, table_text_attr_t *def,
{
table_text_attr_t _a = {}, *a = &_a;
- if (
a
== 0)
+ if (
c
== 0)
return format (s, t->no_ansi ? "" : "\x1b[0m");
clib_memcpy (a, def, sizeof (table_text_attr_t));