aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/hex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/hex.h b/src/util/hex.h
index 31bcaa2ba..708f33024 100644
--- a/src/util/hex.h
+++ b/src/util/hex.h
@@ -27,7 +27,7 @@ static inline std::string hex_encode(const char *data, unsigned int data_size)
{
std::string ret;
ret.reserve(data_size * 2);
-
+
char buf2[3];
buf2[2] = '\0';