summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-10-11 18:16:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-10-11 18:16:10 +0200
commit91f88b15f011abe85c85893d1fe50de6c8e4189d (patch)
tree40c5819c29bd7ec047819c5d7eac0acb68be1ada /include
parentd9adae46dae6e2176e8765368d2902cc24da688b (diff)
parent1a446933032beca0b1c5764acf23940ceb7a43ab (diff)
downloadlibnitrokey-91f88b15f011abe85c85893d1fe50de6c8e4189d.tar.gz
libnitrokey-91f88b15f011abe85c85893d1fe50de6c8e4189d.tar.bz2
Merge branch 'general-fixes'v3.1
Diffstat (limited to 'include')
-rw-r--r--include/device_proto.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index 0be9ed1..388c721 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -393,12 +393,14 @@ namespace nitrokey {
}
LOG(std::string("<= ") +
- std::string(
- commandid_to_string(static_cast<CommandID>(resp.command_id))
- + std::string(" ")
- + std::to_string(resp.storage_status.device_status)
+ std::string(
+ commandid_to_string(static_cast<CommandID>(resp.command_id))
+ + std::string(" ")
+ + std::to_string(resp.device_status)
+ + std::string(" ")
+ + std::to_string(resp.storage_status.device_status)
// + std::to_string( status_translate_command(resp.storage_status.device_status))
- ), Loglevel::DEBUG_L1);
+ ), Loglevel::DEBUG_L1);
LOG("Incoming HID packet:", Loglevel::DEBUG);
LOG(static_cast<std::string>(resp), Loglevel::DEBUG);