mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
yhook: rename var outSingle -> nonPair
Origin commit data
------------------
Commit: 246af91c7d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)
Origin message was:
------------------
- yhook: rename var outSingle -> nonPair
This commit is contained in:
@@ -28,7 +28,7 @@ CyhookHandler::CyhookHandler()
|
|||||||
Method = M_UNKNOWN;
|
Method = M_UNKNOWN;
|
||||||
httpStatus = HTTP_NIL;
|
httpStatus = HTTP_NIL;
|
||||||
outType = plain;
|
outType = plain;
|
||||||
outSingle = false;
|
nonPair = false;
|
||||||
LastModified=0;
|
LastModified=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -407,7 +407,7 @@ TOutType CyhookHandler::getOutType() {
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
TOutType CyhookHandler::outStart(bool single) {
|
TOutType CyhookHandler::outStart(bool single) {
|
||||||
// for compatibility
|
// for compatibility
|
||||||
outSingle = single;
|
nonPair = single;
|
||||||
// get outType
|
// get outType
|
||||||
outType = getOutType();
|
outType = getOutType();
|
||||||
// set response header
|
// set response header
|
||||||
@@ -437,7 +437,7 @@ std::string CyhookHandler::outPair(std::string _key, std::string _content, bool
|
|||||||
result += ",";
|
result += ",";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (outSingle)
|
if (nonPair)
|
||||||
result = _content;
|
result = _content;
|
||||||
else
|
else
|
||||||
result = _key + "=" + _content;
|
result = _key + "=" + _content;
|
||||||
|
@@ -139,7 +139,7 @@ public:
|
|||||||
std::string Sendfile; // Path & Name (local os style) of file to send
|
std::string Sendfile; // Path & Name (local os style) of file to send
|
||||||
bool keep_alive;
|
bool keep_alive;
|
||||||
bool cached; // cached by mod_cache
|
bool cached; // cached by mod_cache
|
||||||
bool outSingle;
|
bool nonPair;
|
||||||
|
|
||||||
// Input
|
// Input
|
||||||
CStringList ParamList; // local copy of ParamList (Request)
|
CStringList ParamList; // local copy of ParamList (Request)
|
||||||
|
Reference in New Issue
Block a user