lint
This commit is contained in:
+2
-1
@@ -35,7 +35,8 @@ enum ArgFlag {
|
||||
typedef struct argDef {
|
||||
const char* name; //!< the (long) name of the argument, or nullptr for a group header or positional
|
||||
int key; //!< the argument key, also used as short name if alphabetic or the question mark
|
||||
const char* valueName; //!< the optional argument value name, or nullptr for group header or argument without value name
|
||||
// the optional argument value name, or nullptr for group header or argument without value name
|
||||
const char* valueName;
|
||||
int flags; //!< flags for the argument, bit combination of @a ArgFlag
|
||||
const char* help; //!< help text (mandatory)
|
||||
} argDef;
|
||||
|
||||
@@ -33,7 +33,6 @@ namespace ebusd {
|
||||
using std::string;
|
||||
using std::ostringstream;
|
||||
using std::dec;
|
||||
using std::hex;
|
||||
|
||||
#ifdef HAVE_SSL
|
||||
|
||||
@@ -434,7 +433,8 @@ void HttpClient::disconnect() {
|
||||
}
|
||||
}
|
||||
|
||||
bool HttpClient::get(const string& uri, const string& body, string* response, bool* repeatable, time_t* time, bool* jsonString) {
|
||||
bool HttpClient::get(const string& uri, const string& body, string* response, bool* repeatable,
|
||||
time_t* time, bool* jsonString) {
|
||||
return request("GET", uri, body, response, repeatable, time, jsonString);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user