diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_import.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_import.c b/src/conversation/gnunet-conversation-gtk_import.c index 5f72df04..002a1f71 100644 --- a/src/conversation/gnunet-conversation-gtk_import.c +++ b/src/conversation/gnunet-conversation-gtk_import.c | |||
@@ -154,7 +154,7 @@ GSC_add_contact (const gchar *name, const gchar *address) | |||
154 | { | 154 | { |
155 | type = GNUNET_GNSRECORD_TYPE_PKEY; | 155 | type = GNUNET_GNSRECORD_TYPE_PKEY; |
156 | value = &rvalue; | 156 | value = &rvalue; |
157 | value_size = sizeof (struct GNUNET_IDENTITY_PublicKey); | 157 | value_size = GNUNET_IDENTITY_key_get_length (&rvalue); |
158 | } | 158 | } |
159 | else | 159 | else |
160 | { | 160 | { |