aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-gtk.c')
-rw-r--r--src/namestore/gnunet-namestore-gtk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c
index 88af45b0..8204f4e4 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -2119,7 +2119,7 @@ gnunet_namestore_gtk_pseu_entry_changed_cb (GtkEditable *editable,
2119 rd_old)); 2119 rd_old));
2120 memcpy (rd_new, rd_old, sizeof (struct GNUNET_GNSRECORD_Data) * rd_count); 2120 memcpy (rd_new, rd_old, sizeof (struct GNUNET_GNSRECORD_Data) * rd_count);
2121 for (off=0;off<rd_count;off++) 2121 for (off=0;off<rd_count;off++)
2122 if (GNUNET_GNSRECORD_TYPE_PSEU == rd_new[off].record_type) 2122 if (GNUNET_GNSRECORD_TYPE_NICK == rd_new[off].record_type)
2123 break; 2123 break;
2124 if (off == rd_count) 2124 if (off == rd_count)
2125 total++; 2125 total++;
@@ -2131,7 +2131,7 @@ gnunet_namestore_gtk_pseu_entry_changed_cb (GtkEditable *editable,
2131 } 2131 }
2132 else 2132 else
2133 { 2133 {
2134 rd_new[off].record_type = GNUNET_GNSRECORD_TYPE_PSEU; 2134 rd_new[off].record_type = GNUNET_GNSRECORD_TYPE_NICK;
2135 rd_new[off].expiration_time = UINT64_MAX; 2135 rd_new[off].expiration_time = UINT64_MAX;
2136 rd_new[off].flags = GNUNET_GNSRECORD_RF_NONE; 2136 rd_new[off].flags = GNUNET_GNSRECORD_RF_NONE;
2137 rd_new[off].data_size = strlen (pseu) + 1; 2137 rd_new[off].data_size = strlen (pseu) + 1;
@@ -2367,7 +2367,7 @@ zone_iteration_proc (void *cls,
2367 GNUNET_asprintf (&type_str, "%s", EXPIRE_INVALID_STRING); 2367 GNUNET_asprintf (&type_str, "%s", EXPIRE_INVALID_STRING);
2368 2368
2369 if ( (0 == strcmp (name, GNUNET_GNS_MASTERZONE_STR)) && 2369 if ( (0 == strcmp (name, GNUNET_GNS_MASTERZONE_STR)) &&
2370 (GNUNET_GNSRECORD_TYPE_PSEU == rd[c].record_type) && 2370 (GNUNET_GNSRECORD_TYPE_NICK == rd[c].record_type) &&
2371 (NULL == current_pseudonym) ) 2371 (NULL == current_pseudonym) )
2372 { 2372 {
2373 pseu_entry = GTK_ENTRY((get_object ("gnunet_namestore_gtk_pseu_entry"))); 2373 pseu_entry = GTK_ENTRY((get_object ("gnunet_namestore_gtk_pseu_entry")));