55 if ( section ==
"main" ) {
56 if ( entry ==
"credentials.global.dir" ) {
57 d->credentials_global_dir_path =
Pathname(value);
59 }
else if ( entry ==
"credentials.global.file" ) {
60 d->credentials_global_file_path =
Pathname(value);
63 }
else if ( entry ==
"download.max_concurrent_connections" ) {
67 }
else if ( entry ==
"download.min_download_speed" ) {
71 }
else if ( entry ==
"download.max_download_speed" ) {
75 }
else if ( entry ==
"download.max_silent_tries" ) {
79 }
else if ( entry ==
"download.connect_timeout" ) {
81 if ( d->download_connect_timeout < 0 )
82 d->download_connect_timeout = 0;
85 }
else if ( entry ==
"download.transfer_timeout" ) {
87 if ( d->download_transfer_timeout < 0 ) d->download_transfer_timeout = 0;
88 else if ( d->download_transfer_timeout > 3600 ) d->download_transfer_timeout = 3600;