summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/libgadu/libgadu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu/libgadu.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/libgadu/libgadu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/libgadu.cpp b/protocols/Gadu-Gadu/src/libgadu/libgadu.cpp
index edfc7fd034..931d55810d 100644
--- a/protocols/Gadu-Gadu/src/libgadu/libgadu.cpp
+++ b/protocols/Gadu-Gadu/src/libgadu/libgadu.cpp
@@ -565,8 +565,8 @@ void *gg_recv_packet(struct gg_session *sess)
h.type = gg_fix32(h.type);
h.length = gg_fix32(h.length);
- } else
- memcpy(&h, sess->recv_buf, sizeof(h));
+ }
+ else memcpy(&h, sess->recv_buf, sizeof(h));
/* jakieÅ› sensowne limity na rozmiar pakietu */
if (h.length > 65535) {