diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-09 19:07:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-09 19:07:13 +0000 |
commit | 073c4a9ae448041fdc9a0683fed49d55ae61803e (patch) | |
tree | 9bf2bacde4723ea25f70a0cdb324a1d76be763de /src/fs/gnunet-service-fs_push.c | |
parent | fafacaa77732d1dadcfcb10e4901dda76840a76d (diff) | |
download | gnunet-073c4a9ae448041fdc9a0683fed49d55ae61803e.tar.gz gnunet-073c4a9ae448041fdc9a0683fed49d55ae61803e.zip |
hxing
Diffstat (limited to 'src/fs/gnunet-service-fs_push.c')
-rw-r--r-- | src/fs/gnunet-service-fs_push.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index c1f520510..1a29b7837 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -601,22 +601,20 @@ GSF_push_stop_ (struct GSF_ConnectedPeer *peer) | |||
601 | 601 | ||
602 | /** | 602 | /** |
603 | * Setup the module. | 603 | * Setup the module. |
604 | * | ||
605 | * @param cfg configuration to use | ||
606 | */ | 604 | */ |
607 | void | 605 | void |
608 | GSF_push_init_ (struct GNUNET_CONFIGURATION_Handle *cfg) | 606 | GSF_push_init_ () |
609 | { | 607 | { |
610 | int enabled; | 608 | int enabled; |
611 | 609 | ||
612 | enabled = GNUNET_CONFIGURATION_get_value_yesno (cfg, | 610 | enabled = GNUNET_CONFIGURATION_get_value_yesno (GSF_cfg, |
613 | "FS", | 611 | "FS", |
614 | "CONTENT_PUSHING"); | 612 | "CONTENT_PUSHING"); |
615 | if (GNUNET_YES != enabled) | 613 | if (GNUNET_YES != enabled) |
616 | return; | 614 | return; |
617 | 615 | ||
618 | if (GNUNET_OK != | 616 | if (GNUNET_OK != |
619 | GNUNET_CONFIGURATION_get_value_time (cfg, | 617 | GNUNET_CONFIGURATION_get_value_time (GSF_cfg, |
620 | "fs", | 618 | "fs", |
621 | "MIN_MIGRATION_DELAY", | 619 | "MIN_MIGRATION_DELAY", |
622 | &min_migration_delay)) | 620 | &min_migration_delay)) |