Browse Source

fixed typo

pull/739/head
orignal 8 years ago
parent
commit
0edc149ecc
  1. 2
      HTTPServer.cpp

2
HTTPServer.cpp

@ -818,7 +818,7 @@ namespace http {
url.parse_query(params); url.parse_query(params);
std::string token = params["token"]; 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"); ShowError(s, "Invalid token");
return; return;

Loading…
Cancel
Save