summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3dd186)
raw | patch | inline | side by side (parent: e3dd186)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 25 Feb 2015 09:40:10 +0000 (10:40 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 25 Feb 2015 09:40:10 +0000 (10:40 +0100) |
src/frontend/query.c | patch | blob | history |
diff --git a/src/frontend/query.c b/src/frontend/query.c
index 2bd234a07c91088ac8f8db4706acd1c42f2896e1..aef0ddcc6d7112300f6d1aca90fbd42062b43650 100644 (file)
--- a/src/frontend/query.c
+++ b/src/frontend/query.c
SDB_STORE_TYPE_TO_NAME(type), hostname, name);
return -1;
}
+ if (type == SDB_HOST)
+ name = hostname;
host = sdb_store_get_host(hostname);
if ((! host) || (filter