/**
* @file fs/fs_publish_ksk.c
* @brief publish a URI under a keyword in GNUnet
- * @see https://gnunet.org/encoding and #2564
+ * @see https://gnunet.org/encoding and #2564
* @author Krista Bennett
* @author Christian Grothoff
*/
/**
* Options to use.
- */
+ */
enum GNUNET_FS_PublishOptions options;
/**
* @param tc unused
*/
static void
-publish_ksk_cont (void *cls,
+publish_ksk_cont (void *cls,
const struct GNUNET_SCHEDULER_TaskContext *tc);
pkc->uc = NULL;
if (NULL != msg)
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"KBlock PUT operation failed: %s\n", msg);
pkc->cont (pkc->cont_cls, NULL, msg);
GNUNET_FS_publish_ksk_cancel (pkc);
keyword = pkc->ksk_uri->data.ksk.keywords[pkc->i++];
pkc->uc = GNUNET_FS_publish_ublock_ (pkc->h,
pkc->dsh,
- keyword, NULL,
+ keyword + 1 /* skip '+' */,
+ NULL,
GNUNET_CRYPTO_ecc_key_get_anonymous (),
pkc->meta,
pkc->uri,