summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/flowtop.c b/flowtop.c
index cf0e478..cab708e 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -914,7 +914,8 @@ static void presenter_print_flow_entry_time(const struct flow_entry *n)
static void draw_flow_entry(WINDOW *screen, const struct flow_entry *n,
unsigned int *line)
{
- char tmp[128], *pname = NULL;
+ char tmp[128];
+ const char *pname = NULL;
uint16_t port;
mvwprintw(screen, *line, 2, "");