From 87f4134201f0a0840415aab531e32ca714bc7a36 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 18 Apr 2013 17:34:27 +0200 Subject: leveldb geht so --- datastore-leveldb/src/db.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'datastore-leveldb/src/db.cpp') diff --git a/datastore-leveldb/src/db.cpp b/datastore-leveldb/src/db.cpp index a952512..84e30f3 100644 --- a/datastore-leveldb/src/db.cpp +++ b/datastore-leveldb/src/db.cpp @@ -12,7 +12,8 @@ static bool sensor_name_is_sane(std::string& name) { for (auto it = name.begin(); it != name.end(); ++it) { if (not ((*it >= '0' and *it <= '9') or (*it >= 'A' and *it <= 'Z') or - (*it >= 'a' and *it <= 'z'))) { + (*it >= 'a' and *it <= 'z') or + (*it == '.'))) { return false; } } -- cgit v1.2.1