From 0edc149ecca68670e4b378d71a0a1d52815f3ce8 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 15 Dec 2016 13:36:52 -0500 Subject: [PATCH] fixed typo --- HTTPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTPServer.cpp b/HTTPServer.cpp index 368c5e21..84818e8e 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -818,7 +818,7 @@ namespace http { url.parse_query(params); std::string token = params["token"]; - if (!token.empty () || m_Tokens.find (std::stoi (token)) == m_Tokens.end ()) + if (token.empty () || m_Tokens.find (std::stoi (token)) == m_Tokens.end ()) { ShowError(s, "Invalid token"); return;