aboutsummaryrefslogtreecommitdiff
path: root/include/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h
index 6e3525e..5ac1d7f 100644
--- a/include/command.h
+++ b/include/command.h
@@ -18,7 +18,7 @@ namespace nitrokey {
}
};
-#define print_to_ss(x) ( ss << " #x:\t" << (x) << std::endl );
+#define print_to_ss(x) ( ss << " " << (#x) <<":\t" << (x) << std::endl );
template<CommandID cmd_id>
class PasswordCommand : public Command<cmd_id> {
@@ -48,5 +48,6 @@ namespace nitrokey {
};
}
}
+#undef print_to_ss
#endif