summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/client.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-10-20 10:13:30 +0000
committerRobert Pösel <robyer@seznam.cz>2015-10-20 10:13:30 +0000
commitbdbdf8d3391d2da3df0d4eeabac41fa73aa821fa (patch)
tree366121a22bc6eef039eacb0aafff85c03e4dd605 /protocols/Omegle/src/client.h
parentd49489f3467a02953b77cd5869bec5c061b63aa1 (diff)
Omegle: Format sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@15579 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/client.h')
-rw-r--r--protocols/Omegle/src/client.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Omegle/src/client.h b/protocols/Omegle/src/client.h
index b33c05350c..5847877133 100644
--- a/protocols/Omegle/src/client.h
+++ b/protocols/Omegle/src/client.h
@@ -70,7 +70,7 @@ public:
HANDLE send_message_lock_;
//int msgid_;
-
+
// State of client
int state_;
bool typing_;
@@ -78,7 +78,7 @@ public:
// Data storage
void store_headers(http::response *resp, NETLIBHTTPHEADER *headers, int headers_count);
-
+
std::string get_server(bool not_last = false);
std::string get_language();
@@ -90,8 +90,8 @@ public:
bool handle_error(const std::string &method, bool force_disconnect = false);
void __inline increment_error() { error_count_++; }
- void __inline decrement_error() { if ( error_count_ > 0 ) error_count_--; }
- void __inline reset_error() { error_count_ = 0; }
+ void __inline decrement_error() { if (error_count_ > 0) error_count_--; }
+ void __inline reset_error() { error_count_ = 0; }
bool start();
bool stop();
@@ -102,7 +102,7 @@ public:
bool recaptcha();
std::string get_page(int);
-
+
bool send_message(const std::string &message_text);
// HTTP communication