diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-11-14 16:50:51 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2014-01-31 12:46:22 +0100 |
commit | b8c2890228f559a8eb98bd1056ca1e3194a1b428 (patch) | |
tree | 6ebb8bc9389bac09b5cded94f6771ebdfcbb9915 | |
parent | ae17559dd08f5ec174fc17d23646c174ac8f6dcf (diff) | |
download | vd_agent-b8c2890228f559a8eb98bd1056ca1e3194a1b428.tar.gz vd_agent-b8c2890228f559a8eb98bd1056ca1e3194a1b428.tar.xz vd_agent-b8c2890228f559a8eb98bd1056ca1e3194a1b428.zip |
Add a warning for unhandled case
-rw-r--r-- | src/vdagentd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vdagentd.c b/src/vdagentd.c index eed183b..2eb97cb 100644 --- a/src/vdagentd.c +++ b/src/vdagentd.c @@ -459,6 +459,9 @@ int do_agent_clipboard(struct udscs_connection *conn, size = 0; agent_owns_clipboard[selection] = 0; break; + default: + syslog(LOG_WARNING, "unexpected clipboard message type"); + goto error; } if (size != header->size) { |