mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
mod_yparser.cpp: fix warning misleading-indentation
This commit is contained in:
@@ -508,9 +508,10 @@ std::string CyParser::YWeb_cgi_cmd(CyhookHandler *hh, std::string ycmd) {
|
|||||||
yresult = ycgi_vars[ycmd_name];
|
yresult = ycgi_vars[ycmd_name];
|
||||||
} else if (ycmd_type == "var-set") {
|
} else if (ycmd_type == "var-set") {
|
||||||
std::string varname, varvalue;
|
std::string varname, varvalue;
|
||||||
if (ySplitString(ycmd_name, "=", varname, varvalue))
|
if (ySplitString(ycmd_name, "=", varname, varvalue)) {
|
||||||
varvalue = trim(varvalue);
|
varvalue = trim(varvalue);
|
||||||
ycgi_vars[varname] = varvalue;
|
ycgi_vars[varname] = varvalue;
|
||||||
|
}
|
||||||
} else if (ycmd_type == "global-var-get") {
|
} else if (ycmd_type == "global-var-get") {
|
||||||
pthread_mutex_lock(&yParser_mutex);
|
pthread_mutex_lock(&yParser_mutex);
|
||||||
yresult = ycgi_global_vars[ycmd_name];
|
yresult = ycgi_global_vars[ycmd_name];
|
||||||
|
Reference in New Issue
Block a user