summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-06-12 11:36:25 +0000
committerRobert Pösel <robyer@seznam.cz>2013-06-12 11:36:25 +0000
commitcc4c50d725df57a51a69fcefa94f5812ab56b6f3 (patch)
tree997baeee2c7a8d42147c1202a3f5da76664857c5 /protocols/FacebookRM/src/utils.h
parent13964bc99fce9d033bd4c87b44a80f96436fca1f (diff)
Facebook: Correct trimming of messages and not receiving empty ones.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.h')
-rw-r--r--protocols/FacebookRM/src/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/utils.h b/protocols/FacebookRM/src/utils.h
index f0b3b68d96..eef3907004 100644
--- a/protocols/FacebookRM/src/utils.h
+++ b/protocols/FacebookRM/src/utils.h
@@ -89,7 +89,7 @@ namespace utils
std::string edit_html(std::string data);
std::string remove_html(std::string data);
std::string slashu_to_utf8(std::string data);
- std::string trim(std::string data);
+ std::string trim(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);
void explode(std::string str, std::string separator, std::vector<std::string>* results);