summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-20 00:11:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-20 00:11:36 +0300
commit92b173c3a8553b59077aa2757c9627cb4c73d29e (patch)
tree99b7ebeff5c84ff27f1908eea79992e60618840f /protocols/Gadu-Gadu/src
parent92e81067e7e81cefcea58f7e91f6d2d8c959fd0d (diff)
Chat_NewSession to return a pointer to a newly created session, not to dig it anymore
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r--protocols/Gadu-Gadu/src/groupchat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp
index 7137639aed..2463ef22ca 100644
--- a/protocols/Gadu-Gadu/src/groupchat.cpp
+++ b/protocols/Gadu-Gadu/src/groupchat.cpp
@@ -344,7 +344,8 @@ wchar_t* GGPROTO::gc_getchat(uin_t sender, uin_t *recipients, int recipients_cou
int i;
for(i = 0; i < recipients_count; i++)
chat->recipients[i] = recipients[i];
- if (sender) chat->recipients[i] = sender;
+ if (sender)
+ chat->recipients[i] = sender;
// Add contacts
for(i = 0; i < chat->recipients_count; i++) {