aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-22 21:39:37 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-22 21:39:37 +0000
commitcf7dee822b7af48131bd9565ab1036e5c7fa0a2d (patch)
tree0d949553a950fd39f92fa2914a3cc920b1951bf2
parentb0423742307ea1c980ef879a40c6f9ebe2f68722 (diff)
replace another g_assert by DISSECTOR_ASSERT, so Ethereal won't crash if a dissector triggers that assert
svn path=/trunk/; revision=13867
-rw-r--r--epan/ftypes/ftype-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c
index 6e0d9c1b20..d4d34a6cbc 100644
--- a/epan/ftypes/ftype-string.c
+++ b/epan/ftypes/ftype-string.c
@@ -53,7 +53,7 @@ string_fvalue_free(fvalue_t *fv)
static void
string_fvalue_set(fvalue_t *fv, gpointer value, gboolean already_copied)
{
- g_assert(value != NULL);
+ DISSECTOR_ASSERT(value != NULL);
/* Free up the old value, if we have one */
string_fvalue_free(fv);