[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36483 - gnunet/src/set
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36483 - gnunet/src/set |
Date: |
Thu, 8 Oct 2015 13:51:39 +0200 |
Author: grothoff
Date: 2015-10-08 13:51:39 +0200 (Thu, 08 Oct 2015)
New Revision: 36483
Modified:
gnunet/src/set/gnunet-service-set_union_strata_estimator.c
gnunet/src/set/set.conf.in
Log:
-fix ptr ar
Modified: gnunet/src/set/gnunet-service-set_union_strata_estimator.c
===================================================================
--- gnunet/src/set/gnunet-service-set_union_strata_estimator.c 2015-10-08
11:44:13 UTC (rev 36482)
+++ gnunet/src/set/gnunet-service-set_union_strata_estimator.c 2015-10-08
11:51:39 UTC (rev 36483)
@@ -33,7 +33,7 @@
* Should we try compressing the strata estimator? This will
* break compatibility with the 0.10.1-network.
*/
-#define FAIL_10_1_COMPATIBILTIY 0
+#define FAIL_10_1_COMPATIBILTIY 1
/**
@@ -48,6 +48,7 @@
void *buf)
{
unsigned int i;
+ void *sbuf = buf;
size_t osize;
GNUNET_assert (NULL != se);
@@ -66,12 +67,12 @@
size_t nsize;
if (GNUNET_YES ==
- GNUNET_try_compression (buf,
+ GNUNET_try_compression (sbuf,
osize,
&cbuf,
&nsize))
{
- memcpy (buf, cbuf, nsize);
+ memcpy (sbuf, cbuf, nsize);
osize = nsize;
GNUNET_free (cbuf);
}
Modified: gnunet/src/set/set.conf.in
===================================================================
--- gnunet/src/set/set.conf.in 2015-10-08 11:44:13 UTC (rev 36482)
+++ gnunet/src/set/set.conf.in 2015-10-08 11:51:39 UTC (rev 36483)
@@ -8,3 +8,5 @@
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-set.sock
UNIX_MATCH_UID = YES
UNIX_MATCH_GID = YES
+
+PREFIX = valgrind
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36483 - gnunet/src/set,
gnunet <=