mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 12:47:48 +02:00
English corrections.
This commit is contained in:
parent
7c924e13d9
commit
dd88e13b95
23 changed files with 48 additions and 48 deletions
|
@ -123,7 +123,7 @@ std::string I2PControlSession::Response::getErrorMsg() const
|
|||
case ErrorCode::NonexistentToken:
|
||||
return "Nonexistent authentication token given.";
|
||||
case ErrorCode::ExpiredToken:
|
||||
return "Exipred authentication token given.";
|
||||
return "Expired authentication token given.";
|
||||
case ErrorCode::UnspecifiedVersion:
|
||||
return "Version not specified.";
|
||||
case ErrorCode::UnsupportedVersion:
|
||||
|
|
|
@ -135,23 +135,23 @@ public:
|
|||
std::string toJsonString() const;
|
||||
|
||||
/**
|
||||
* Set an ouptut parameter to a specified string.
|
||||
* Set an output parameter to a specified string.
|
||||
* @todo escape quotes
|
||||
*/
|
||||
void setParam(const std::string& param, const std::string& value);
|
||||
|
||||
/**
|
||||
* Set an ouptut parameter to a specified integer.
|
||||
* Set an output parameter to a specified integer.
|
||||
*/
|
||||
void setParam(const std::string& param, int value);
|
||||
|
||||
/**
|
||||
* Set an ouptut parameter to a specified double.
|
||||
* Set an output parameter to a specified double.
|
||||
*/
|
||||
void setParam(const std::string& param, double value);
|
||||
|
||||
/**
|
||||
* Set an ouptut parameter to a specified Json object.
|
||||
* Set an output parameter to a specified Json object.
|
||||
*/
|
||||
void setParam(const std::string& param, const JsonObject& value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue