From: Martin Schanzenbach Date: Mon, 11 Jun 2012 10:34:01 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~13158 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=92142ce411360964b2da819b4423eb1a3cfc21c2;p=oweals%2Fgnunet.git -fix --- diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 52f47dad2..ad2d3a969 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c @@ -504,7 +504,7 @@ process_shorten (void* cls, const char* short_name) * * @param cls the proxycurltask * @param tc the task context - */ + * static void postprocess_name (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { @@ -519,6 +519,7 @@ postprocess_name (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) ctask); } +*/ /** * Callback for MHD response @@ -646,7 +647,7 @@ mhd_content_cb (void *cls, /* If .zkey simply copy the name */ else { - memcpy (ctask->pp_buf, hostptr, (m[1].rm_eo-m[1].rm_so + strlen (GNUNET_TLD_ZKEY))); + memcpy (ctask->pp_buf, hostptr, (m[1].rm_eo-m[1].rm_so + strlen (GNUNET_GNS_TLD_ZKEY))); } ctask->is_postprocessing = GNUNET_YES;