From b5f713a888d1fc90c3c3664a5197a4cfcb969750 Mon Sep 17 00:00:00 2001 From: Ebus-at-dockstar Date: Sun, 27 Jul 2014 17:07:25 +0200 Subject: allow underscore in value name --- datastore-leveldb/src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'datastore-leveldb/src/db.cpp') diff --git a/datastore-leveldb/src/db.cpp b/datastore-leveldb/src/db.cpp index 991a82e..e307535 100644 --- a/datastore-leveldb/src/db.cpp +++ b/datastore-leveldb/src/db.cpp @@ -14,7 +14,7 @@ static bool sensor_name_is_sane(std::string& name) { if (not ((*it >= '0' and *it <= '9') or (*it >= 'A' and *it <= 'Z') or (*it >= 'a' and *it <= 'z') or - (*it == '.'))) { + (*it == '.') or (*it == '_'))) { return false; } } -- cgit v1.2.1