QueryLogsSqlite: minor changes.

This commit is contained in:
Shreyas Zare
2022-02-27 17:52:37 +05:30
parent e6b2615693
commit 33894261bf

View File

@@ -1,6 +1,6 @@
/*
Technitium DNS Server
Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com)
Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -422,7 +422,7 @@ CREATE TABLE IF NOT EXISTS dns_logs
if (qname is not null)
{
if (qname.Contains("*"))
if (qname.Contains('*'))
{
whereClause += "qname like @qname AND ";
qname = qname.Replace("*", "%");