aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-service-namestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r--src/namestore/gnunet-service-namestore.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index b27cfb732..dea13b982 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -105,7 +105,7 @@ struct NamestoreClient
105 * Message queue for transmission to @e client 105 * Message queue for transmission to @e client
106 */ 106 */
107 struct GNUNET_MQ_Handle *mq; 107 struct GNUNET_MQ_Handle *mq;
108 108
109 /** 109 /**
110 * Head of the DLL of 110 * Head of the DLL of
111 * Zone iteration operations in progress initiated by this client 111 * Zone iteration operations in progress initiated by this client
@@ -268,7 +268,7 @@ cleanup_task (void *cls)
268 } 268 }
269 GNUNET_NAMECACHE_disconnect (namecache); 269 GNUNET_NAMECACHE_disconnect (namecache);
270 namecache = NULL; 270 namecache = NULL;
271 GNUNET_break (NULL == GNUNET_PLUGIN_unload (db_lib_name, 271 GNUNET_break (NULL == GNUNET_PLUGIN_unload (db_lib_name,
272 GSN_database)); 272 GSN_database));
273 GNUNET_free (db_lib_name); 273 GNUNET_free (db_lib_name);
274 db_lib_name = NULL; 274 db_lib_name = NULL;
@@ -1011,7 +1011,8 @@ handle_record_store (void *cls,
1011 struct GNUNET_GNSRECORD_Data rd_clean[rd_count]; 1011 struct GNUNET_GNSRECORD_Data rd_clean[rd_count];
1012 unsigned int rd_clean_off; 1012 unsigned int rd_clean_off;
1013 1013
1014 /* remove "NICK" records, unless this is for the "+" label */ 1014 /* remove "NICK" records, unless this is for the
1015 #GNUNET_GNS_MASTERZONE_STR label */
1015 rd_clean_off = 0; 1016 rd_clean_off = 0;
1016 for (unsigned int i=0;i<rd_count;i++) 1017 for (unsigned int i=0;i<rd_count;i++)
1017 { 1018 {
@@ -1669,23 +1670,23 @@ GNUNET_SERVICE_MAIN
1669 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_TO_NAME, 1670 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_TO_NAME,
1670 struct ZoneToNameMessage, 1671 struct ZoneToNameMessage,
1671 NULL), 1672 NULL),
1672 GNUNET_MQ_hd_fixed_size (iteration_start, 1673 GNUNET_MQ_hd_fixed_size (iteration_start,
1673 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_START, 1674 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_START,
1674 struct ZoneIterationStartMessage, 1675 struct ZoneIterationStartMessage,
1675 NULL), 1676 NULL),
1676 GNUNET_MQ_hd_fixed_size (iteration_next, 1677 GNUNET_MQ_hd_fixed_size (iteration_next,
1677 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_NEXT, 1678 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_NEXT,
1678 struct ZoneIterationNextMessage, 1679 struct ZoneIterationNextMessage,
1679 NULL), 1680 NULL),
1680 GNUNET_MQ_hd_fixed_size (iteration_stop, 1681 GNUNET_MQ_hd_fixed_size (iteration_stop,
1681 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_STOP, 1682 GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_STOP,
1682 struct ZoneIterationStopMessage, 1683 struct ZoneIterationStopMessage,
1683 NULL), 1684 NULL),
1684 GNUNET_MQ_hd_fixed_size (monitor_start, 1685 GNUNET_MQ_hd_fixed_size (monitor_start,
1685 GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START, 1686 GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START,
1686 struct ZoneMonitorStartMessage, 1687 struct ZoneMonitorStartMessage,
1687 NULL), 1688 NULL),
1688 GNUNET_MQ_handler_end ()); 1689 GNUNET_MQ_handler_end ());
1689 1690
1690 1691
1691/* end of gnunet-service-namestore.c */ 1692/* end of gnunet-service-namestore.c */