aboutsummaryrefslogtreecommitdiff
path: root/src/chat/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat/chat.c')
-rw-r--r--src/chat/chat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/chat/chat.c b/src/chat/chat.c
index 72c49a063..d7ebd79b8 100644
--- a/src/chat/chat.c
+++ b/src/chat/chat.c
@@ -92,7 +92,7 @@ struct MemberList
92 /** 92 /**
93 * Member ID (pseudonym). 93 * Member ID (pseudonym).
94 */ 94 */
95 GNUNET_HashCode id; 95 struct GNUNET_HashCode id;
96 96
97}; 97};
98 98
@@ -224,8 +224,8 @@ process_result (struct GNUNET_CHAT_Room *room,
224 struct ReceiveNotificationMessage *received_msg; 224 struct ReceiveNotificationMessage *received_msg;
225 struct ConfirmationReceiptMessage *receipt; 225 struct ConfirmationReceiptMessage *receipt;
226 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey; 226 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
227 GNUNET_HashCode id; 227 struct GNUNET_HashCode id;
228 const GNUNET_HashCode *sender; 228 const struct GNUNET_HashCode *sender;
229 struct GNUNET_CONTAINER_MetaData *meta; 229 struct GNUNET_CONTAINER_MetaData *meta;
230 struct GNUNET_CHAT_SendReceiptContext *src; 230 struct GNUNET_CHAT_SendReceiptContext *src;
231 struct MemberList *pos; 231 struct MemberList *pos;
@@ -308,7 +308,7 @@ process_result (struct GNUNET_CHAT_Room *room,
308 prev = NULL; 308 prev = NULL;
309 pos = room->members; 309 pos = room->members;
310 while ((NULL != pos) && 310 while ((NULL != pos) &&
311 (0 != memcmp (&pos->id, &id, sizeof (GNUNET_HashCode)))) 311 (0 != memcmp (&pos->id, &id, sizeof (struct GNUNET_HashCode))))
312 { 312 {
313 prev = pos; 313 prev = pos;
314 pos = pos->next; 314 pos = pos->next;
@@ -379,7 +379,7 @@ process_result (struct GNUNET_CHAT_Room *room,
379 while ((NULL != pos) && 379 while ((NULL != pos) &&
380 (0 != 380 (0 !=
381 memcmp (&pos->id, &received_msg->sender, 381 memcmp (&pos->id, &received_msg->sender,
382 sizeof (GNUNET_HashCode)))) 382 sizeof (struct GNUNET_HashCode))))
383 pos = pos->next; 383 pos = pos->next;
384 GNUNET_assert (NULL != pos); 384 GNUNET_assert (NULL != pos);
385 sender = &received_msg->sender; 385 sender = &received_msg->sender;
@@ -649,7 +649,7 @@ GNUNET_CHAT_join_room (const struct GNUNET_CONFIGURATION_Handle *cfg,
649 GNUNET_CHAT_MemberListCallback memberCallback, 649 GNUNET_CHAT_MemberListCallback memberCallback,
650 void *member_cls, 650 void *member_cls,
651 GNUNET_CHAT_MessageConfirmation confirmationCallback, 651 GNUNET_CHAT_MessageConfirmation confirmationCallback,
652 void *confirmation_cls, GNUNET_HashCode * me) 652 void *confirmation_cls, struct GNUNET_HashCode * me)
653{ 653{
654 struct GNUNET_CHAT_Room *chat_room; 654 struct GNUNET_CHAT_Room *chat_room;
655 struct GNUNET_CRYPTO_RsaPrivateKey *priv_key; 655 struct GNUNET_CRYPTO_RsaPrivateKey *priv_key;
@@ -755,7 +755,7 @@ transmit_send_request (void *cls, size_t size, void *buf)
755 GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ()); 755 GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ());
756 msg_to_send->reserved = htonl (0); 756 msg_to_send->reserved = htonl (0);
757 if (NULL == smc->receiver) 757 if (NULL == smc->receiver)
758 memset (&msg_to_send->target, 0, sizeof (GNUNET_HashCode)); 758 memset (&msg_to_send->target, 0, sizeof (struct GNUNET_HashCode));
759 else 759 else
760 GNUNET_CRYPTO_hash (smc->receiver, 760 GNUNET_CRYPTO_hash (smc->receiver,
761 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), 761 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),