diff options
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 40a7ac790..de6f6eaec 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -422,7 +422,7 @@ send_lookup_response (struct GNUNET_SERVER_NotificationContext *nc, | |||
422 | name_len = strlen (name) + 1; | 422 | name_len = strlen (name) + 1; |
423 | rd_ser_len = GNUNET_GNSRECORD_records_get_size (rd_count, rd); | 423 | rd_ser_len = GNUNET_GNSRECORD_records_get_size (rd_count, rd); |
424 | msg_size = sizeof (struct RecordResultMessage) + name_len + rd_ser_len; | 424 | msg_size = sizeof (struct RecordResultMessage) + name_len + rd_ser_len; |
425 | 425 | (void) client_lookup (client); | |
426 | zir_msg = GNUNET_malloc (msg_size); | 426 | zir_msg = GNUNET_malloc (msg_size); |
427 | zir_msg->gns_header.header.type = htons (GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_RESULT); | 427 | zir_msg->gns_header.header.type = htons (GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_RESULT); |
428 | zir_msg->gns_header.header.size = htons (msg_size); | 428 | zir_msg->gns_header.header.size = htons (msg_size); |
@@ -539,7 +539,8 @@ refresh_block (struct GNUNET_SERVER_Client *client, | |||
539 | rd), | 539 | rd), |
540 | name, | 540 | name, |
541 | rd, rd_count); | 541 | rd, rd_count); |
542 | 542 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | |
543 | "Caching block in namecache\n"); | ||
543 | cop = GNUNET_new (struct CacheOperation); | 544 | cop = GNUNET_new (struct CacheOperation); |
544 | cop->client = client; | 545 | cop->client = client; |
545 | cop->rid = rid; | 546 | cop->rid = rid; |
@@ -1180,7 +1181,7 @@ monitor_iterate_cb (void *cls, | |||
1180 | * Handles a #GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START message | 1181 | * Handles a #GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START message |
1181 | * | 1182 | * |
1182 | * @param cls unused | 1183 | * @param cls unused |
1183 | * @param client GNUNET_SERVER_Client sending the message | 1184 | * @param client the client sending the message |
1184 | * @param message message of type 'struct ZoneMonitorStartMessage' | 1185 | * @param message message of type 'struct ZoneMonitorStartMessage' |
1185 | */ | 1186 | */ |
1186 | static void | 1187 | static void |