summaryrefslogtreecommitdiff
path: root/epan/ftypes/ftype-guid.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/ftypes/ftype-guid.c')
-rw-r--r--epan/ftypes/ftype-guid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-guid.c b/epan/ftypes/ftype-guid.c
index 290738ae20..20d448d078 100644
--- a/epan/ftypes/ftype-guid.c
+++ b/epan/ftypes/ftype-guid.c
@@ -84,12 +84,13 @@ get_guid(const char *s, e_guid_t *guid)
}
static gboolean
-guid_from_unparsed(fvalue_t *fv, const char *s, gboolean allow_partial_value _U_, LogFunc logfunc)
+guid_from_unparsed(fvalue_t *fv, const char *s, gboolean allow_partial_value _U_, gchar **err_msg)
{
e_guid_t guid;
if (!get_guid(s, &guid)) {
- logfunc("\"%s\" is not a valid GUID.", s);
+ if (err_msg != NULL)
+ *err_msg = g_strdup_printf("\"%s\" is not a valid GUID.", s);
return FALSE;
}