[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: disable TO_FILE logic, caus
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: disable TO_FILE logic, causes assertion failures all the time (NULL filename) |
Date: |
Wed, 20 Feb 2019 13:22:30 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 1173f8982 disable TO_FILE logic, causes assertion failures all the
time (NULL filename)
1173f8982 is described below
commit 1173f89823cd4cb1ff6c8afdbc33ea9397bbeee2
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Feb 20 13:22:28 2019 +0100
disable TO_FILE logic, causes assertion failures all the time (NULL
filename)
---
src/rps/gnunet-service-rps.c | 10 +++++-----
src/rps/rps-test_util.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 08f2450f5..9dba04316 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -11,7 +11,7 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -2576,7 +2576,7 @@ insert_in_sampler (void *cls,
* messages to it */
//indicate_sending_intention (peer);
}
- #ifdef TO_FILE
+#ifdef TO_FILE
sub->num_observed_peers++;
GNUNET_CONTAINER_multipeermap_put
(sub->observed_unique_peers,
@@ -2590,7 +2590,7 @@ insert_in_sampler (void *cls,
sub->num_observed_peers,
num_observed_unique_peers,
1.0*num_observed_unique_peers/sub->num_observed_peers)
- #endif /* TO_FILE */
+#endif /* TO_FILE */
}
@@ -2874,7 +2874,7 @@ new_sub (const struct GNUNET_HashCode *hash,
/* Logging of internals */
sub->file_name_view_log = store_prefix_file_name (&own_identity, "view");
- #ifdef TO_FILE
+#ifdef TO_FILE
sub->file_name_observed_log = store_prefix_file_name (&own_identity,
"observed");
sub->file_name_push_recv = store_prefix_file_name (&own_identity,
@@ -2884,7 +2884,7 @@ new_sub (const struct GNUNET_HashCode *hash,
sub->num_observed_peers = 0;
sub->observed_unique_peers = GNUNET_CONTAINER_multipeermap_create (1,
GNUNET_NO);
- #endif /* TO_FILE */
+#endif /* TO_FILE */
/* Set up data structures for gossip */
sub->push_map = CustomPeerMap_create (4);
diff --git a/src/rps/rps-test_util.h b/src/rps/rps-test_util.h
index cf15a9909..484d0f7da 100644
--- a/src/rps/rps-test_util.h
+++ b/src/rps/rps-test_util.h
@@ -11,7 +11,7 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -28,7 +28,7 @@
#ifndef RPS_TEST_UTIL_H
#define RPS_TEST_UTIL_H
-#define TO_FILE 1
+#define TO_FILE 0
char *
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: disable TO_FILE logic, causes assertion failures all the time (NULL filename),
gnunet <=