mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user