summaryrefslogtreecommitdiff
path: root/datastore-leveldb/src/db.cpp
diff options
context:
space:
mode:
authorEbus-at-dockstar <ebus@dockstar>2014-07-27 17:07:25 +0200
committerEbus-at-dockstar <ebus@dockstar>2014-07-27 17:11:51 +0200
commitb5f713a888d1fc90c3c3664a5197a4cfcb969750 (patch)
tree87c8683f809b45416bced734560a58b807ad12a5 /datastore-leveldb/src/db.cpp
parent3cd78de16f985af16438d04cefedd28019257824 (diff)
downloadebus-alt-b5f713a888d1fc90c3c3664a5197a4cfcb969750.tar.gz
ebus-alt-b5f713a888d1fc90c3c3664a5197a4cfcb969750.zip
allow underscore in value name
Diffstat (limited to 'datastore-leveldb/src/db.cpp')
-rw-r--r--datastore-leveldb/src/db.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}