mod_yparser.cpp: fix warning misleading-indentation

Origin commit data
------------------
Commit: 57a2a70be6
Author: GetAway <get-away@t-online.de>
Date: 2020-07-06 (Mon, 06 Jul 2020)
This commit is contained in:
GetAway
2020-07-06 22:40:59 +02:00
committed by vanhofen
parent e240ee8c5b
commit 0b6f77e897

View File

@@ -507,9 +507,10 @@ std::string CyParser::YWeb_cgi_cmd(CyhookHandler *hh, std::string ycmd) {
yresult = ycgi_vars[ycmd_name];
} else if (ycmd_type == "var-set") {
std::string varname, varvalue;
if (ySplitString(ycmd_name, "=", varname, varvalue))
if (ySplitString(ycmd_name, "=", varname, varvalue)) {
varvalue = trim(varvalue);
ycgi_vars[varname] = varvalue;
}
} else if (ycmd_type == "global-var-get") {
pthread_mutex_lock(&yParser_mutex);
yresult = ycgi_global_vars[ycmd_name];