aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb/mdb_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/db_drivers/liblmdb/mdb_dump.c')
-rw-r--r--external/db_drivers/liblmdb/mdb_dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb/mdb_dump.c b/external/db_drivers/liblmdb/mdb_dump.c
index b7737f12d..068dab5a8 100644
--- a/external/db_drivers/liblmdb/mdb_dump.c
+++ b/external/db_drivers/liblmdb/mdb_dump.c
@@ -64,6 +64,8 @@ static void text(MDB_val *v)
end = c + v->mv_size;
while (c < end) {
if (isprint(*c)) {
+ if (*c == '\\')
+ putchar('\\');
putchar(*c);
} else {
putchar('\\');