summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r--protocols/FacebookRM/src/process.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp
index 218f95125a..edb554f9f8 100644
--- a/protocols/FacebookRM/src/process.cpp
+++ b/protocols/FacebookRM/src/process.cpp
@@ -806,11 +806,11 @@ void FacebookProto::SearchAckThread(void *targ)
if (id.empty() || id == facy.self_.user_id)
continue;
- ptrT tid = mir_utf8decodeT(id.c_str());
- ptrT tname = mir_utf8decodeT(utils::text::special_expressions_decode(name).c_str());
- ptrT tsurname = mir_utf8decodeT(utils::text::special_expressions_decode(surname).c_str());
- ptrT tnick = mir_utf8decodeT(utils::text::special_expressions_decode(nick).c_str());
- ptrT tcommon = mir_utf8decodeT(utils::text::special_expressions_decode(common).c_str());
+ ptrT tid( mir_utf8decodeT(id.c_str()));
+ ptrT tname( mir_utf8decodeT(utils::text::special_expressions_decode(name).c_str()));
+ ptrT tsurname( mir_utf8decodeT(utils::text::special_expressions_decode(surname).c_str()));
+ ptrT tnick( mir_utf8decodeT(utils::text::special_expressions_decode(nick).c_str()));
+ ptrT tcommon( mir_utf8decodeT(utils::text::special_expressions_decode(common).c_str()));
PROTOSEARCHRESULT isr = {0};
isr.cbSize = sizeof(isr);
@@ -874,9 +874,9 @@ void FacebookProto::SearchIdAckThread(void *targ)
// ignore self contact and empty ids
if (!id.empty() && id != facy.self_.user_id){
- ptrT tid = mir_utf8decodeT(id.c_str());
- ptrT tname = mir_utf8decodeT(name.c_str());
- ptrT tsurname = mir_utf8decodeT(surname.c_str());
+ ptrT tid( mir_utf8decodeT(id.c_str()));
+ ptrT tname( mir_utf8decodeT(name.c_str()));
+ ptrT tsurname( mir_utf8decodeT(surname.c_str()));
PROTOSEARCHRESULT isr = {0};
isr.cbSize = sizeof(isr);