[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6918 - gnunet-gtk/src/plugins/chat
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6918 - gnunet-gtk/src/plugins/chat |
Date: |
Tue, 27 May 2008 23:36:51 -0600 (MDT) |
Author: grothoff
Date: 2008-05-27 23:36:51 -0600 (Tue, 27 May 2008)
New Revision: 6918
Modified:
gnunet-gtk/src/plugins/chat/chat.c
gnunet-gtk/src/plugins/chat/chat.h
Log:
updating chat.c to new API
Modified: gnunet-gtk/src/plugins/chat/chat.c
===================================================================
--- gnunet-gtk/src/plugins/chat/chat.c 2008-05-28 05:35:35 UTC (rev 6917)
+++ gnunet-gtk/src/plugins/chat/chat.c 2008-05-28 05:36:51 UTC (rev 6918)
@@ -294,15 +294,10 @@
client->room_name = GNUNET_malloc (strlen (room_name));
strcpy (client->room_name, room_name);
- client->priv_key = NULL;
- client->priv_key =
- GNUNET_CHAT_initPrivateKey (chat_ectx, chat_cfg, room_name,
- &client->pub_key);
-
/* We do a silly strdup later on member_info... either check for NULL or
only pass "" for member_info!! */
chatRoom =
GNUNET_CHAT_join_room (chat_ectx, chat_cfg, nick, room_name,
- &client->pub_key, client->priv_key, "",
+ "",
&receive_callback, client, &member_list_callback,
client);
Modified: gnunet-gtk/src/plugins/chat/chat.h
===================================================================
--- gnunet-gtk/src/plugins/chat/chat.h 2008-05-28 05:35:35 UTC (rev 6917)
+++ gnunet-gtk/src/plugins/chat/chat.h 2008-05-28 05:36:51 UTC (rev 6918)
@@ -45,8 +45,6 @@
{
struct GNUNET_CHAT_gui_chat_client *next;
struct GNUNET_CHAT_gui_chat_client *prev;
- GNUNET_RSA_PublicKey pub_key;
- const struct GNUNET_RSA_PrivateKey *priv_key;
int number;
GtkWidget *chatFrame;
struct GNUNET_CHAT_Room *room;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6918 - gnunet-gtk/src/plugins/chat,
gnunet <=