mark hex with 0x

master
Marc Wäckerlin 15 years ago
parent ba6d0e0edf
commit 7d36acec5b
  1. 2
      src/cryptoki.hxx

@ -57,7 +57,7 @@ namespace cryptoki {
inline std::string readable(const std::string& data) { inline std::string readable(const std::string& data) {
if (data.find_first_not_of(VALID_CHARS)<data.size()) if (data.find_first_not_of(VALID_CHARS)<data.size())
return hex(data); return "0x"+hex(data);
else else
return data; return data;
} }

Loading…
Cancel
Save