mirror of
https://github.com/mirror/wget.git
synced 2025-03-14 11:50:18 +08:00
Always define options.jobs
This commit is contained in:
parent
93597efe7b
commit
0d58672dc6
@ -1,5 +1,7 @@
|
||||
2013-11-10 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||
|
||||
* options.h (struct options) [!ENABLE_THREADS]: Define jobs.
|
||||
|
||||
* progress.c (progress_create): Do not set `current_progress'.
|
||||
(progress_finish): Do not reset `current_progress' when the progress bar
|
||||
to remove is the first one in the list.
|
||||
|
@ -291,9 +291,7 @@ struct options
|
||||
|
||||
bool report_bps; /*Output bandwidth in bits format*/
|
||||
|
||||
#ifdef ENABLE_THREADS
|
||||
int jobs; /* How many threads use at the same time. */
|
||||
#endif
|
||||
int jobs; /* How many threads use at the same time. */
|
||||
};
|
||||
|
||||
extern struct options opt;
|
||||
|
Loading…
Reference in New Issue
Block a user