diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-09 18:30:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-09 18:30:21 +0000 |
commit | bb785c0ae604983a83dc7983060afcc73b1992c0 (patch) | |
tree | 3d327954abd56ee0f866947bbb83e464c9230343 /src/dht | |
parent | 83cf919fdf0ebf444a7b8784b7967cdccc81723a (diff) | |
download | gnunet-bb785c0ae604983a83dc7983060afcc73b1992c0.tar.gz gnunet-bb785c0ae604983a83dc7983060afcc73b1992c0.zip |
-fix configs
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/test_dht_monitor.c | 7 | ||||
-rw-r--r-- | src/dht/test_dht_multipeer.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_topo.c | 6 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_get_put.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_path_tracking.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_put_get.c | 2 |
7 files changed, 11 insertions, 12 deletions
diff --git a/src/dht/test_dht_monitor.c b/src/dht/test_dht_monitor.c index ca6704a09..31c5e7bc4 100644 --- a/src/dht/test_dht_monitor.c +++ b/src/dht/test_dht_monitor.c | |||
@@ -553,10 +553,10 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
553 | NULL); | 553 | NULL); |
554 | 554 | ||
555 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Starting daemons.\n"); | 555 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Starting daemons.\n"); |
556 | GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing", | 556 | GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing_old", |
557 | "use_progressbars", "YES"); | 557 | "use_progressbars", "YES"); |
558 | if (GNUNET_OK != | 558 | if (GNUNET_OK != |
559 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing", | 559 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing_old", |
560 | "num_peers", &num_peers)) | 560 | "num_peers", &num_peers)) |
561 | { | 561 | { |
562 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 562 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -564,8 +564,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
564 | return; | 564 | return; |
565 | } | 565 | } |
566 | 566 | ||
567 | if (GNUNET_OK != | 567 | if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing_old", |
568 | GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing", | ||
569 | "topology_output_file", | 568 | "topology_output_file", |
570 | &topology_file)) | 569 | &topology_file)) |
571 | { | 570 | { |
diff --git a/src/dht/test_dht_multipeer.c b/src/dht/test_dht_multipeer.c index ab7d90e24..f4f99a633 100644 --- a/src/dht/test_dht_multipeer.c +++ b/src/dht/test_dht_multipeer.c | |||
@@ -797,7 +797,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
797 | return; | 797 | return; |
798 | } | 798 | } |
799 | if (GNUNET_SYSERR == | 799 | if (GNUNET_SYSERR == |
800 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers", | 800 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers", |
801 | &num_peers)) | 801 | &num_peers)) |
802 | num_peers = DEFAULT_NUM_PEERS; | 802 | num_peers = DEFAULT_NUM_PEERS; |
803 | pg = GNUNET_TESTING_peergroup_start (cfg, num_peers, TIMEOUT, NULL, | 803 | pg = GNUNET_TESTING_peergroup_start (cfg, num_peers, TIMEOUT, NULL, |
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c index f51f3a663..64918fe26 100644 --- a/src/dht/test_dht_topo.c +++ b/src/dht/test_dht_topo.c | |||
@@ -483,10 +483,10 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
483 | "WARNING", | 483 | "WARNING", |
484 | NULL); | 484 | NULL); |
485 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemons.\n"); | 485 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemons.\n"); |
486 | GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing", | 486 | GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing_old", |
487 | "use_progressbars", "YES"); | 487 | "use_progressbars", "YES"); |
488 | if (GNUNET_OK != | 488 | if (GNUNET_OK != |
489 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing", | 489 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing_old", |
490 | "num_peers", &num_peers)) | 490 | "num_peers", &num_peers)) |
491 | { | 491 | { |
492 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 492 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -495,7 +495,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
495 | } | 495 | } |
496 | 496 | ||
497 | if (GNUNET_OK != | 497 | if (GNUNET_OK != |
498 | GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing", | 498 | GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing_old", |
499 | "topology_output_file", | 499 | "topology_output_file", |
500 | &topology_file)) | 500 | &topology_file)) |
501 | { | 501 | { |
diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index f0ac05b1c..a4664946f 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c | |||
@@ -428,7 +428,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
428 | } | 428 | } |
429 | 429 | ||
430 | if (GNUNET_SYSERR == | 430 | if (GNUNET_SYSERR == |
431 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers", | 431 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers", |
432 | &num_peers)) | 432 | &num_peers)) |
433 | num_peers = DEFAULT_NUM_PEERS; | 433 | num_peers = DEFAULT_NUM_PEERS; |
434 | 434 | ||
diff --git a/src/dht/test_dht_twopeer_get_put.c b/src/dht/test_dht_twopeer_get_put.c index 3271d046d..775418fe1 100644 --- a/src/dht/test_dht_twopeer_get_put.c +++ b/src/dht/test_dht_twopeer_get_put.c | |||
@@ -519,7 +519,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
519 | 519 | ||
520 | /* Get number of peers to start from configuration (should be two) */ | 520 | /* Get number of peers to start from configuration (should be two) */ |
521 | if (GNUNET_SYSERR == | 521 | if (GNUNET_SYSERR == |
522 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers", | 522 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers", |
523 | &num_peers)) | 523 | &num_peers)) |
524 | num_peers = DEFAULT_NUM_PEERS; | 524 | num_peers = DEFAULT_NUM_PEERS; |
525 | 525 | ||
diff --git a/src/dht/test_dht_twopeer_path_tracking.c b/src/dht/test_dht_twopeer_path_tracking.c index 6ecf6a381..f45d3b6b7 100644 --- a/src/dht/test_dht_twopeer_path_tracking.c +++ b/src/dht/test_dht_twopeer_path_tracking.c | |||
@@ -441,7 +441,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
441 | 441 | ||
442 | /* Get number of peers to start from configuration (should be two) */ | 442 | /* Get number of peers to start from configuration (should be two) */ |
443 | if (GNUNET_SYSERR == | 443 | if (GNUNET_SYSERR == |
444 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers", | 444 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers", |
445 | &num_peers)) | 445 | &num_peers)) |
446 | num_peers = DEFAULT_NUM_PEERS; | 446 | num_peers = DEFAULT_NUM_PEERS; |
447 | 447 | ||
diff --git a/src/dht/test_dht_twopeer_put_get.c b/src/dht/test_dht_twopeer_put_get.c index 44150e3e0..9419194b9 100644 --- a/src/dht/test_dht_twopeer_put_get.c +++ b/src/dht/test_dht_twopeer_put_get.c | |||
@@ -439,7 +439,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
439 | 439 | ||
440 | /* Get number of peers to start from configuration (should be two) */ | 440 | /* Get number of peers to start from configuration (should be two) */ |
441 | if (GNUNET_SYSERR == | 441 | if (GNUNET_SYSERR == |
442 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers", | 442 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers", |
443 | &num_peers)) | 443 | &num_peers)) |
444 | num_peers = DEFAULT_NUM_PEERS; | 444 | num_peers = DEFAULT_NUM_PEERS; |
445 | 445 | ||