diff options
author | George Hazan <ghazan@miranda.im> | 2017-06-20 19:54:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-06-20 19:54:20 +0300 |
commit | b846cb5043b6d5f5ac59cb40f252bc9ced189dfd (patch) | |
tree | 823f7a85868274aff1f6cbe5a333eef2025e5486 /protocols/FacebookRM/src/client.h | |
parent | d0624914d7e8bf90d9b911e48a7bf8754a83a714 (diff) |
Facebook: unneeded crutch removed
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r-- | protocols/FacebookRM/src/client.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h index 6e3a3e2e87..6018a196aa 100644 --- a/protocols/FacebookRM/src/client.h +++ b/protocols/FacebookRM/src/client.h @@ -153,11 +153,8 @@ public: return ""; // FIXME: What's this value and where it come from? Looks like it is the same through all requests.
}
- __inline CMStringA __req() {
- // Increment request number and convert it to string with radix 36 (whole numbers + whole alphabet)
- char buffer[10];
- itoa(InterlockedIncrement(&this->chat_req_), buffer, 36);
- return CMStringA(buffer);
+ __inline unsigned int __req() { // Increment request number
+ return InterlockedIncrement(&this->chat_req_);
}
__inline const char *__rev() {
|