diff options
Diffstat (limited to 'epan/ftypes/ftype-tvbuff.c')
-rw-r--r-- | epan/ftypes/ftype-tvbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-tvbuff.c b/epan/ftypes/ftype-tvbuff.c index c4449a12d1..135de1d0be 100644 --- a/epan/ftypes/ftype-tvbuff.c +++ b/epan/ftypes/ftype-tvbuff.c @@ -130,7 +130,7 @@ val_repr_len(fvalue_t *fv, ftrepr_t rtype) { guint length; - g_assert(rtype == FTREPR_DFILTER); + if (rtype != FTREPR_DFILTER) return -1; length = tvb_length(fv->value.tvb); /* 3 bytes for each byte of the byte "NN:" minus 1 byte * as there's no trailing ":". */ |