57 if ( section ==
"main" ) {
58 if ( entry ==
"credentials.global.dir" ) {
59 d->credentials_global_dir_path =
Pathname(value);
61 }
else if ( entry ==
"credentials.global.file" ) {
62 d->credentials_global_file_path =
Pathname(value);
65 }
else if ( entry ==
"download.max_concurrent_connections" ) {
69 }
else if ( entry ==
"download.min_download_speed" ) {
73 }
else if ( entry ==
"download.min_download_speed_time" ) {
77 }
else if ( entry ==
"download.max_download_speed" ) {
81 }
else if ( entry ==
"download.max_silent_tries" ) {
85 }
else if ( entry ==
"download.connect_timeout" ) {
87 if ( d->download_connect_timeout < 0 )
88 d->download_connect_timeout = 0;
91 }
else if ( entry ==
"download.transfer_timeout" ) {
93 if ( d->download_transfer_timeout < 0 ) d->download_transfer_timeout = 0;
94 else if ( d->download_transfer_timeout > 3600 ) d->download_transfer_timeout = 3600;