aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-23 22:32:57 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-23 22:32:57 +0000
commitb2ca9e02d36e97b4e56d35779b673d620369e38b (patch)
treee9539c238ef2ed1c6f1995dcb4c62e2f8c55a81a /src/fs/fs_publish.c
parent12d51a7d066ddc0eefcf26bd770a38ab54df7789 (diff)
downloadgnunet-b2ca9e02d36e97b4e56d35779b673d620369e38b.tar.gz
gnunet-b2ca9e02d36e97b4e56d35779b673d620369e38b.zip
stuff
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index 752677f13..058883c04 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -21,7 +21,7 @@
21/** 21/**
22 * @file fs/fs_publish.c 22 * @file fs/fs_publish.c
23 * @brief publish a file or directory in GNUnet 23 * @brief publish a file or directory in GNUnet
24 * @see http://gnunet.org/encoding 24 * @see https://gnunet.org/encoding
25 * @author Krista Bennett 25 * @author Krista Bennett
26 * @author Christian Grothoff 26 * @author Christian Grothoff
27 */ 27 */
@@ -1559,6 +1559,11 @@ publish_ksk_cont (void *cls,
1559 return; 1559 return;
1560 } 1560 }
1561 keyword = pkc->ksk_uri->data.ksk.keywords[pkc->i++]; 1561 keyword = pkc->ksk_uri->data.ksk.keywords[pkc->i++];
1562#if DEBUG_PUBLISH
1563 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1564 "Publishing under keyword `%s'\n",
1565 keyword);
1566#endif
1562 /* first character of keyword indicates if it is 1567 /* first character of keyword indicates if it is
1563 mandatory or not -- ignore for hashing */ 1568 mandatory or not -- ignore for hashing */
1564 GNUNET_CRYPTO_hash (&keyword[1], strlen (&keyword[1]), &key); 1569 GNUNET_CRYPTO_hash (&keyword[1], strlen (&keyword[1]), &key);