diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-18 18:42:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-18 18:42:58 +0000 |
commit | c0696a21aebdb3a3961bece3cbbb3c307cd2ab29 (patch) | |
tree | 99657007ed941cef56dcfd6f3229e03701b4170c /src | |
parent | ed972379c278dc979b0545bb94b0d6106bb6a045 (diff) | |
download | gnunet-c0696a21aebdb3a3961bece3cbbb3c307cd2ab29.tar.gz gnunet-c0696a21aebdb3a3961bece3cbbb3c307cd2ab29.zip |
-log more diagnostics
Diffstat (limited to 'src')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 5 | ||||
-rwxr-xr-x | src/peerinfo-tool/test_gnunet_peerinfo.py.in | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index 646cb9b1f..d00a39a8a 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -687,6 +687,11 @@ GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, | |||
687 | { | 687 | { |
688 | /* Already existing, nothing todo, but this should not happen */ | 688 | /* Already existing, nothing todo, but this should not happen */ |
689 | GNUNET_break (0); | 689 | GNUNET_break (0); |
690 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
691 | "Diagnostics: %s:%s - %p\n", | ||
692 | GNUNET_i2s (&address->peer), | ||
693 | address->transport_name, | ||
694 | session); | ||
690 | return NULL; | 695 | return NULL; |
691 | } | 696 | } |
692 | s = find_empty_session_slot (sh); | 697 | s = find_empty_session_slot (sh); |
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py.in b/src/peerinfo-tool/test_gnunet_peerinfo.py.in index 97fb5dfa5..2ec815425 100755 --- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in +++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in | |||
@@ -96,4 +96,3 @@ finally: | |||
96 | shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-peerinfo"), True) | 96 | shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-peerinfo"), True) |
97 | else: | 97 | else: |
98 | shutil.rmtree ("/tmp/gnunet-test-peerinfo", True) | 98 | shutil.rmtree ("/tmp/gnunet-test-peerinfo", True) |
99 | |||