summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-16 09:07:54 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-16 09:07:54 +0100
commit48493306d27a1e2f7750228a37c32e892ffbb310 (patch)
treead05f41259f07f695498c83e14aad95c6ab7c97c /flowtop.c
parent3d84a7208988ad641599271d5bfde078c2fc9b4c (diff)
lookup: Return const char * from all lookup functions
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
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, "");