aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/flow_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/flow_graph.c')
-rw-r--r--gtk/flow_graph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/flow_graph.c b/gtk/flow_graph.c
index 745b6debe0..c23fa6030a 100644
--- a/gtk/flow_graph.c
+++ b/gtk/flow_graph.c
@@ -334,14 +334,14 @@ static int flow_graph_tcp_add_to_graph(packet_info *pinfo, const struct tcpheade
bpos = 1 << i;
if (tcph->th_flags & bpos) {
if (flags_found) {
- g_strlcat(flags, ", ", 64);
+ g_strlcat(flags, ", ", sizeof(flags));
}
- g_strlcat(flags, fstr[i], 64);
+ g_strlcat(flags, fstr[i], sizeof(flags));
flags_found = TRUE;
}
}
if (flags[0] == '\0') {
- g_snprintf (flags, 64, "<None>");
+ g_snprintf (flags, sizeof(flags), "<None>");
}
if ((tcph->th_have_seglen)&&(tcph->th_seglen!=0)){