diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-09-04 14:04:49 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-09-04 14:04:49 +0000 |
commit | 8234832e06e873df035270f162d7d151fbf6e7eb (patch) | |
tree | 200613059ddb4bc61c73fa946ca735836ee92163 /utils | |
parent | 2f492f0c3af53dada6b909d1c31dc665c33dfde5 (diff) |
Facebook: Massive rewrite of all communication requests
Note it doesn't use persistent connection yet.
git-svn-id: http://svn.miranda-ng.org/main/trunk@17246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'utils')
-rw-r--r-- | utils/std_string_utils.cpp | 2 | ||||
-rw-r--r-- | utils/std_string_utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index 7a1e6b61b9..b94670df7e 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -339,7 +339,7 @@ std::string utils::text::source_get_value2(std::string* data, const char *term, return ret;
}
-std::string utils::text::source_get_form_data(std::string* data, boolean hiddenOnly)
+std::string utils::text::source_get_form_data(std::string* data, bool hiddenOnly)
{
const char *search = hiddenOnly ? "<input type=\"hidden\"" : "<input";
std::string values;
diff --git a/utils/std_string_utils.h b/utils/std_string_utils.h index d9c1b4923a..db4fca6f54 100644 --- a/utils/std_string_utils.h +++ b/utils/std_string_utils.h @@ -71,7 +71,7 @@ namespace utils std::string trim(const std::string &data, bool rtrim = false);
std::string source_get_value(std::string* data, unsigned int argument_count, ...);
std::string source_get_value2(std::string* data, const char *term, const char *endings, bool wholeString = false);
- std::string source_get_form_data(std::string* data, boolean hiddenOnly = false);
+ std::string source_get_form_data(std::string* data, bool hiddenOnly = false);
std::string rand_string(int len, const char *chars = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz", unsigned int *number = NULL);
void explode(std::string str, const std::string &separator, std::vector<std::string>* results);
void append_ordinal(unsigned long value, std::string* data);
|