diff options
author | Thomas Zimmermann <tdz@users.sourceforge.net> | 2016-08-23 20:43:37 +0200 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2017-01-17 17:20:53 +0000 |
commit | 81a99b483349313db44d3add31269a424fec1b9b (patch) | |
tree | 62fb8e881eb349c098953ff7e075fd2586389a61 /dbus/dbus-marshal-validate.c | |
parent | 1291547d2b5dac55c6d5276e384326049261533f (diff) | |
download | dbus-81a99b483349313db44d3add31269a424fec1b9b.tar.gz |
_dbus_validity_to_error_message: add missing cases
[smcv: split out from a larger commit]
Reviewed-by: Simon McVittie <smcv@debian.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191
Diffstat (limited to 'dbus/dbus-marshal-validate.c')
-rw-r--r-- | dbus/dbus-marshal-validate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-marshal-validate.c b/dbus/dbus-marshal-validate.c index e1224991..578b09f3 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"; } |