diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-05-23 00:37:49 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-05-23 00:37:49 +0000 |
commit | edde59d5df99584c8c33e6e89ca08f9d75cd35a7 (patch) | |
tree | e1256548f508c4ee18e70de4f2d68eec1edb081c /src | |
parent | 3c6d81413f88a28c4cac0625af2ba9a5dc7239d6 (diff) | |
download | gnunet-edde59d5df99584c8c33e6e89ca08f9d75cd35a7.tar.gz gnunet-edde59d5df99584c8c33e6e89ca08f9d75cd35a7.zip |
- add default size, doc
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/test_cadet.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index cd4c1c1df..80655ddbc 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c | |||
@@ -859,6 +859,8 @@ main (int argc, char *argv[]) | |||
859 | config_file = "test_cadet.conf"; | 859 | config_file = "test_cadet.conf"; |
860 | 860 | ||
861 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Start\n"); | 861 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Start\n"); |
862 | |||
863 | /* Find out requested size */ | ||
862 | if (strstr (argv[0], "test_direct") != NULL) | 864 | if (strstr (argv[0], "test_direct") != NULL) |
863 | { | 865 | { |
864 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "DIRECT CONNECTIONs\n"); | 866 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "DIRECT CONNECTIONs\n"); |
@@ -871,10 +873,11 @@ main (int argc, char *argv[]) | |||
871 | } | 873 | } |
872 | else | 874 | else |
873 | { | 875 | { |
874 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "SIZE UNKNOWN\n"); | 876 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "SIZE UNKNOWN, USING 5\n"); |
875 | return 1; | 877 | peers_requested = 5; |
876 | } | 878 | } |
877 | 879 | ||
880 | /* Find out requested test */ | ||
878 | if (strstr (argv[0], "_cadet_forward") != NULL) | 881 | if (strstr (argv[0], "_cadet_forward") != NULL) |
879 | { | 882 | { |
880 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "FORWARD\n"); | 883 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "FORWARD\n"); |