[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20619 - in gnunet/src: gns statistics
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20619 - in gnunet/src: gns statistics |
Date: |
Mon, 19 Mar 2012 20:19:01 +0100 |
Author: grothoff
Date: 2012-03-19 20:19:01 +0100 (Mon, 19 Mar 2012)
New Revision: 20619
Modified:
gnunet/src/gns/gnunet-gns-fcfsd.c
gnunet/src/statistics/gnunet-service-statistics.c
Log:
-fixing minor compilation errors and warnings
Modified: gnunet/src/gns/gnunet-gns-fcfsd.c
===================================================================
--- gnunet/src/gns/gnunet-gns-fcfsd.c 2012-03-19 19:10:10 UTC (rev 20618)
+++ gnunet/src/gns/gnunet-gns-fcfsd.c 2012-03-19 19:19:01 UTC (rev 20619)
@@ -156,7 +156,7 @@
/**
* Hash of the public key of the fcfsd zone.
*/
-static GNUNET_HashCode fcfsd_zone;
+static struct GNUNET_CRYPTO_ShortHashCode fcfsd_zone;
/**
* Private key for the fcfsd zone.
@@ -697,11 +697,7 @@
}
GNUNET_CRYPTO_rsa_key_get_public (fcfs_zone_pkey,
&pub);
- GNUNET_CRYPTO_hash (&pub, sizeof (pub), &fcfsd_zone);
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- _("Managing `%s' as FCFS zone on port %llu\n"),
- GNUNET_h2s_full (&fcfsd_zone),
- port);
+ GNUNET_CRYPTO_short_hash (&pub, sizeof (pub), &fcfsd_zone);
ns = GNUNET_NAMESTORE_connect (cfg);
if (NULL == ns)
{
Modified: gnunet/src/statistics/gnunet-service-statistics.c
===================================================================
--- gnunet/src/statistics/gnunet-service-statistics.c 2012-03-19 19:10:10 UTC
(rev 20618)
+++ gnunet/src/statistics/gnunet-service-statistics.c 2012-03-19 19:19:01 UTC
(rev 20619)
@@ -223,7 +223,6 @@
{
char *fn;
struct GNUNET_BIO_ReadHandle *rh;
- struct stat sb;
uint64_t fsize;
char *buf;
struct GNUNET_SERVER_MessageStreamTokenizer *mst;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20619 - in gnunet/src: gns statistics,
gnunet <=