aboutsummaryrefslogtreecommitdiff
path: root/include/stick10_commands.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan.zalega@gmail.com>2016-03-29 14:46:45 +0200
committerSzczepan Zalega <szczepan.zalega@gmail.com>2016-03-29 14:46:45 +0200
commit67fc6e40c83927d2a7f3a78af633fe76cef8cbae (patch)
tree3f78b336d51809f3e4d64acf42dc01f89f9ed812 /include/stick10_commands.h
parentf19e5bdc349f0a98234745f66ef72324f47c656b (diff)
downloadlibnitrokey-67fc6e40c83927d2a7f3a78af633fe76cef8cbae.tar.gz
libnitrokey-67fc6e40c83927d2a7f3a78af633fe76cef8cbae.tar.bz2
code cleanup
Diffstat (limited to 'include/stick10_commands.h')
-rw-r--r--include/stick10_commands.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h
index f58ace4..f1903aa 100644
--- a/include/stick10_commands.h
+++ b/include/stick10_commands.h
@@ -71,11 +71,11 @@ class WriteToHOTPSlot : Command<CommandID::WRITE_TO_SLOT> {
std::string dissect() const {
std::stringstream ss;
ss << "slot_number:\t" << (int)(slot_number) << std::endl;
- ss << "slot_name" << slot_name << std::endl;
- ss << "slot_secret" << slot_secret << std::endl;
- ss << "slot_config" << slot_config << std::endl;
- ss << "slot_token_id" << slot_token_id << std::endl;
- ss << "slot_counter" << slot_counter << std::endl;
+ ss << "slot_name:\t" << slot_name << std::endl;
+ ss << "slot_secret:\t" << slot_secret << std::endl;
+ ss << "slot_config:\t" << slot_config << std::endl;
+ ss << "slot_token_id:\t" << slot_token_id << std::endl;
+ ss << "slot_counter:\t" << slot_counter << std::endl;
return ss.str();
}
} __packed;