gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28677 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r28677 - gnunet/src/gns
Date: Fri, 16 Aug 2013 06:08:16 +0200

Author: LRN
Date: 2013-08-16 06:08:16 +0200 (Fri, 16 Aug 2013)
New Revision: 28677

Modified:
   gnunet/src/gns/gnunet-gns-helper-service-w32.c
Log:
Make w32 gns helper compile again

Modified: gnunet/src/gns/gnunet-gns-helper-service-w32.c
===================================================================
--- gnunet/src/gns/gnunet-gns-helper-service-w32.c      2013-08-16 04:08:14 UTC 
(rev 28676)
+++ gnunet/src/gns/gnunet-gns-helper-service-w32.c      2013-08-16 04:08:16 UTC 
(rev 28677)
@@ -61,7 +61,7 @@
  */
 static struct GNUNET_GNS_Handle *gns;
 
-static struct GNUNET_CRYPTO_ShortHashCode *zone = NULL;
+static struct GNUNET_CRYPTO_EccPublicKey *zone = NULL;
 static struct GNUNET_CRYPTO_ShortHashCode user_zone;
 struct GNUNET_CRYPTO_EccPrivateKey *shorten_key = NULL;
 
@@ -569,7 +569,7 @@
               "Launching a lookup for client %p with rq %p\n",
               client, rq);
 
-  if (NULL != GNUNET_GNS_lookup_zone (gns, hostname, zone, rtype,
+  if (NULL != GNUNET_GNS_lookup (gns, hostname, zone, rtype,
       GNUNET_YES, shorten_key, &process_ip_lookup_result, rq))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -682,8 +682,7 @@
       GNUNET_CRYPTO_short_hash(&pkey,
                          sizeof(struct GNUNET_CRYPTO_EccPublicKey),
                          &user_zone);
-      zone = &user_zone;
-      GNUNET_CRYPTO_short_hash_to_enc (zone, &zonename);
+      GNUNET_CRYPTO_short_hash_to_enc (&user_zone, &zonename);
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "Using zone: %s!\n", &zonename);
       GNUNET_CRYPTO_ecc_key_free(key);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]