summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vdagentd.c3
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) {