[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9547 - gnunet-gtk/src/plugins/chat
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9547 - gnunet-gtk/src/plugins/chat |
Date: |
Mon, 16 Nov 2009 05:19:13 -0700 |
Author: grothoff
Date: 2009-11-16 05:19:13 -0700 (Mon, 16 Nov 2009)
New Revision: 9547
Modified:
gnunet-gtk/src/plugins/chat/chat.c
Log:
fix crash
Modified: gnunet-gtk/src/plugins/chat/chat.c
===================================================================
--- gnunet-gtk/src/plugins/chat/chat.c 2009-11-16 08:42:26 UTC (rev 9546)
+++ gnunet-gtk/src/plugins/chat/chat.c 2009-11-16 12:19:13 UTC (rev 9547)
@@ -238,9 +238,11 @@
char *sndr;
sndr =
- sender == NULL ? _("anonymous") : GNUNET_pseudonym_id_to_name (chat_ectx,
- chat_cfg,
- sender);
+ sender == NULL
+ ? GNUNET_strdup ( _("anonymous"))
+ : GNUNET_pseudonym_id_to_name (chat_ectx,
+ chat_cfg,
+ sender);
writearg.text_view = client->text_view;
writearg.message = message;
writearg.sender = sndr;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9547 - gnunet-gtk/src/plugins/chat,
gnunet <=