diff options
author | Alon Levy <alevy@redhat.com> | 2012-02-26 12:45:28 +0100 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-28 14:40:42 +0200 |
commit | 26516fc5a2f5723543386ade3e7b2907408d05b6 (patch) | |
tree | ec3505cffd328eeaecbb967717542244722e1367 /client/controller.cpp | |
parent | bbd01f5f63e7cdef43ef32a4d5d55ee05d1245a8 (diff) | |
download | spice-26516fc5a2f5723543386ade3e7b2907408d05b6.tar.gz spice-26516fc5a2f5723543386ade3e7b2907408d05b6.tar.xz spice-26516fc5a2f5723543386ade3e7b2907408d05b6.zip |
client: handle CONTROLLER_ENABLE_SMARTCARD (rhbz 641828)
Diffstat (limited to 'client/controller.cpp')
-rw-r--r-- | client/controller.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/controller.cpp b/client/controller.cpp index 91c00212..a0269be3 100644 --- a/client/controller.cpp +++ b/client/controller.cpp @@ -334,9 +334,12 @@ bool ControllerConnection::handle_message(ControllerMsg *hdr) case CONTROLLER_DELETE_MENU: _handler->delete_menu(); break; + case CONTROLLER_ENABLE_SMARTCARD: + _handler->enable_smartcard(value); + break; case CONTROLLER_SEND_CAD: default: - LOG_ERROR("Ignoring an unknown controller message %u", hdr->id); + LOG_ERROR("Ignoring an unknown/SEND_CAD controller message %u", hdr->id); return false; } return true; |