diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-09 06:42:17 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-09 06:42:17 +0200 |
commit | a65a5575f8743a408368edcac5a100b90f39e6ad (patch) | |
tree | b5abd7364c67d25a200b90aeab9589c3ff5a8407 | |
parent | mds-vt: secondary connection (diff) | |
download | mds-a65a5575f8743a408368edcac5a100b90f39e6ad.tar.gz mds-a65a5575f8743a408368edcac5a100b90f39e6ad.tar.bz2 mds-a65a5575f8743a408368edcac5a100b90f39e6ad.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds-vt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mds-vt.c b/src/mds-vt.c index 8948c97..3031d20 100644 --- a/src/mds-vt.c +++ b/src/mds-vt.c @@ -599,13 +599,16 @@ int handle_message(void) /* Take appropriate action. */ + if (recv_command == NULL) + return 0; /* How did that get here, not matter, just ignore it? */ + if (strequals(recv_command, "get-vt")) return handle_get_vt(recv_client_id, recv_message_id); if (strequals(recv_command, "configure-vt")) return handle_configure_vt(recv_client_id, recv_message_id, recv_graphical, recv_exclusive); - return 0; + return 0; /* How did that get here, not matter, just ignore it? */ } |