From 07f298d726d281cdc33f99be829694b344dbe72f Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Tue, 23 Aug 2016 20:43:37 +0200 Subject: [PATCH 1/6] _dbus_validity_to_error_message: add missing cases [smcv: split out from a larger commit] Reviewed-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191 --- dbus/dbus-marshal-validate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbus/dbus-marshal-validate.c b/dbus/dbus-marshal-validate.c index e122499..578b09f 100644 --- a/dbus/dbus-marshal-validate.c +++ b/dbus/dbus-marshal-validate.c @@ -898,7 +898,9 @@ _dbus_validity_to_error_message (DBusValidity validity) case DBUS_INVALID_DICT_ENTRY_HAS_TOO_MANY_FIELDS: return "Dict entry has too many fields"; case DBUS_INVALID_DICT_ENTRY_NOT_INSIDE_ARRAY: return "Dict entry not inside array"; case DBUS_INVALID_DICT_KEY_MUST_BE_BASIC_TYPE: return "Dict key must be basic type"; + case DBUS_INVALID_MISSING_UNIX_FDS: return "Unix file descriptor missing"; case DBUS_INVALID_NESTED_TOO_DEEPLY: return "Variants cannot be used to create a hugely recursive tree of values"; + case DBUS_VALIDITY_LAST: default: return "Invalid"; } -- 2.9.3