diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-29 13:33:37 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-29 13:33:37 +0000 |
commit | 7deec480ff68e446fe047925619df51d7fe8dacc (patch) | |
tree | 5ccaf4cba154244912a56e39003f8ac1bbd169f1 /gtk/sctp_graph_dlg.c | |
parent | 4562744a64da351cb05e8110ec5983e398af98dd (diff) | |
download | wireshark-7deec480ff68e446fe047925619df51d7fe8dacc.tar.gz wireshark-7deec480ff68e446fe047925619df51d7fe8dacc.tar.bz2 wireshark-7deec480ff68e446fe047925619df51d7fe8dacc.zip |
Next attempt to cleanup some string functions, including:
strncpy -> g_strlcpy, strncat -> g_strlcat
svn path=/trunk/; revision=24504
Diffstat (limited to 'gtk/sctp_graph_dlg.c')
-rw-r--r-- | gtk/sctp_graph_dlg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/sctp_graph_dlg.c b/gtk/sctp_graph_dlg.c index 9655e7ec17..b3082adcf4 100644 --- a/gtk/sctp_graph_dlg.c +++ b/gtk/sctp_graph_dlg.c @@ -610,7 +610,7 @@ static void sctp_graph_draw(struct sctp_udata *u_data) } - strncpy(label_string, "sec", 15); + g_strlcpy(label_string, "sec", 15); #if GTK_MAJOR_VERSION < 2 lwidth=gdk_string_width(font, label_string); |