[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20658 - gnunet-gtk/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20658 - gnunet-gtk/src/gns |
Date: |
Wed, 21 Mar 2012 16:44:05 +0100 |
Author: wachs
Date: 2012-03-21 16:44:05 +0100 (Wed, 21 Mar 2012)
New Revision: 20658
Modified:
gnunet-gtk/src/gns/gnunet-gns-gtk_zone.c
Log:
- changes
Modified: gnunet-gtk/src/gns/gnunet-gns-gtk_zone.c
===================================================================
--- gnunet-gtk/src/gns/gnunet-gns-gtk_zone.c 2012-03-21 15:43:56 UTC (rev
20657)
+++ gnunet-gtk/src/gns/gnunet-gns-gtk_zone.c 2012-03-21 15:44:05 UTC (rev
20658)
@@ -61,6 +61,7 @@
int children;
int c;
int valid = GNUNET_YES;
+ char * name;
char *n_name;
int n_type;
@@ -92,6 +93,10 @@
return;
}
+ gtk_tree_model_get(gns->tm, &parent,
+ TREE_COL_NAME, &name,
+ -1);
+
struct GNUNET_NAMESTORE_RecordData rd[children];
if (FALSE == gtk_tree_model_iter_children (gns->tm, &it, &parent))
@@ -147,7 +152,11 @@
}
else
{
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Valid\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Valid %s\n", name);
+ /* Remove old entries */
+ GNUNET_NAMESTORE_record_remove(gns->ns, gns->pkey, name, NULL, NULL, NULL);
+ /* Create new records */
+ g_free (name);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20658 - gnunet-gtk/src/gns,
gnunet <=