diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_import.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_import.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_import.c b/src/conversation/gnunet-conversation-gtk_import.c index 0123d57d..ff9336fd 100644 --- a/src/conversation/gnunet-conversation-gtk_import.c +++ b/src/conversation/gnunet-conversation-gtk_import.c | |||
@@ -134,6 +134,7 @@ GSC_add_contact (const gchar *name, | |||
134 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zkey; | 134 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zkey; |
135 | uint32_t type; | 135 | uint32_t type; |
136 | char cname[256]; | 136 | char cname[256]; |
137 | const char *tld; | ||
137 | 138 | ||
138 | if (GNUNET_OK != | 139 | if (GNUNET_OK != |
139 | GNUNET_DNSPARSER_check_name (address)) | 140 | GNUNET_DNSPARSER_check_name (address)) |
@@ -190,7 +191,7 @@ GSC_add_contact (const gchar *name, | |||
190 | | GNUNET_GNSRECORD_RF_PRIVATE; | 191 | | GNUNET_GNSRECORD_RF_PRIVATE; |
191 | rd.expiration_time | 192 | rd.expiration_time |
192 | = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; | 193 | = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; |
193 | ego = GCG_ZONES_get_selected_zone (); | 194 | ego = GCG_ZONES_get_selected_zone (&tld); |
194 | zkey = GNUNET_IDENTITY_ego_get_private_key (ego); | 195 | zkey = GNUNET_IDENTITY_ego_get_private_key (ego); |
195 | add_contact_qe | 196 | add_contact_qe |
196 | = GNUNET_NAMESTORE_records_store (ns, | 197 | = GNUNET_NAMESTORE_records_store (ns, |