From 92142ce411360964b2da819b4423eb1a3cfc21c2 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 11 Jun 2012 10:34:01 +0000 Subject: [PATCH] -fix --- src/gns/gnunet-gns-proxy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.25.1