aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_assoc_analyse.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-29 13:33:37 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-29 13:33:37 +0000
commit7deec480ff68e446fe047925619df51d7fe8dacc (patch)
tree5ccaf4cba154244912a56e39003f8ac1bbd169f1 /gtk/sctp_assoc_analyse.c
parent4562744a64da351cb05e8110ec5983e398af98dd (diff)
Next attempt to cleanup some string functions, including:
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504
Diffstat (limited to 'gtk/sctp_assoc_analyse.c')
-rw-r--r--gtk/sctp_assoc_analyse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/sctp_assoc_analyse.c b/gtk/sctp_assoc_analyse.c
index 57b359a000..3a13cb63cf 100644
--- a/gtk/sctp_assoc_analyse.c
+++ b/gtk/sctp_assoc_analyse.c
@@ -834,7 +834,7 @@ static void sctp_analyse_cb(struct sctp_analyse* u_data, gboolean ext)
int i;
guint32 *fn;
- strncpy(filter_text,"sctp",250);
+ g_strlcpy(filter_text,"sctp",250);
if (!dfilter_compile(filter_text, &sfcode)) {
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, dfilter_error_msg);
return;