summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/group_chats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/group_chats.c b/toxcore/group_chats.c
index 3c134348..1b021e20 100644
--- a/toxcore/group_chats.c
+++ b/toxcore/group_chats.c
@@ -185,7 +185,7 @@ static int send_groupchatpacket(Group_Chat *chat, IP_Port ip_port, uint8_t *publ
185 if (len == -1) 185 if (len == -1)
186 return -1; 186 return -1;
187 187
188 if (sendpacket(chat->net->sock, ip_port, packet, len) == len) 188 if (sendpacket(chat->net, ip_port, packet, len) == len)
189 return 0; 189 return 0;
190 190
191 return -1; 191 return -1;