mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Whitespace and formatting changes.(Aesthetic only)
This commit makes lots of whitespace only changes. It has been ensured that this commit does not make any changes to the functioning of the program. The only changes that have been made are: * Remove trailing whitespaces * Convert tabs to spaces * Fix indentation issues in the code * Other aesthetic changes to the formatting of comments
This commit is contained in:
parent
4eeabffee6
commit
8624553a31
@ -1,3 +1,10 @@
|
||||
2014-05-30 Darshit Shah <darnir@gmail.com>
|
||||
|
||||
* connect.{c,h}, convert.{c,h}, cookies.{c,h}, ftp-ls.c, ftp.h, gettext.h,
|
||||
hash.h, host.h, html-parse.h, html-url.h, http.c, init.c, main.c, mswindows.c,
|
||||
netrc.h, openssl.c, options.h, ptimer.h, recur.c, retr.c, sysdep.h, url.h,
|
||||
vms.c, warc.c, wget.h: Whitespace and formatting changes only.
|
||||
|
||||
2014-05-20 Darshit Shah <darnir@gmail.com>
|
||||
|
||||
* utils.c (human_readable): Add new parameters, acc and decimals for the
|
||||
|
@ -95,7 +95,7 @@ struct cookie {
|
||||
int port; /* port number */
|
||||
char *path; /* path prefix of the cookie */
|
||||
|
||||
unsigned discard_requested :1; /* whether cookie was created to
|
||||
unsigned discard_requested :1;/* whether cookie was created to
|
||||
request discarding another
|
||||
cookie. */
|
||||
|
||||
|
@ -1043,7 +1043,7 @@ modify_param_value (param_token *value, int encoding_type )
|
||||
if (encoding_type == RFC2231_ENCODING)
|
||||
{
|
||||
const char *delim = memrchr (value->b, '\'', value->e - value->b);
|
||||
if ( delim != NULL )
|
||||
if (delim != NULL)
|
||||
{
|
||||
value->b = (delim+1);
|
||||
}
|
||||
|
@ -639,7 +639,7 @@ set_windows_fd_as_blocking_socket (int fd)
|
||||
|
||||
WSASetLastError (0);
|
||||
ret = ioctl (fd, FIONBIO, &zero);
|
||||
wsagle = WSAGetLastError();
|
||||
wsagle = WSAGetLastError ();
|
||||
}
|
||||
while (ret && (wsagle == WSAEINPROGRESS));
|
||||
|
||||
|
@ -53,14 +53,13 @@ struct options
|
||||
int cut_dirs; /* Number of directory components to cut. */
|
||||
bool add_hostdir; /* Do we add hostname directory? */
|
||||
bool protocol_directories; /* Whether to prepend "http"/"ftp" to dirs. */
|
||||
bool noclobber; /* Disables clobbering of existing
|
||||
data. */
|
||||
bool noclobber; /* Disables clobbering of existing data. */
|
||||
bool unlink; /* remove file before clobbering */
|
||||
char *dir_prefix; /* The top of directory tree */
|
||||
char *lfilename; /* Log filename */
|
||||
char *input_filename; /* Input filename */
|
||||
char *choose_config; /* Specified config file */
|
||||
bool noconfig;
|
||||
bool noconfig; /* Ignore all config files? */
|
||||
bool force_html; /* Is the input file an HTML file? */
|
||||
|
||||
char *default_page; /* Alternative default page (index file) */
|
||||
@ -103,9 +102,9 @@ struct options
|
||||
documents will be printed. */
|
||||
char *warc_filename; /* WARC output filename */
|
||||
char *warc_tempdir; /* WARC temp dir */
|
||||
char *warc_cdx_dedup_filename; /* CDX file to be used for deduplication. */
|
||||
char *warc_cdx_dedup_filename;/* CDX file to be used for deduplication. */
|
||||
wgint warc_maxsize; /* WARC max archive size */
|
||||
bool warc_compression_enabled; /* For GZIP compression. */
|
||||
bool warc_compression_enabled;/* For GZIP compression. */
|
||||
bool warc_digests_enabled; /* For SHA1 digests. */
|
||||
bool warc_cdx_enabled; /* Create CDX files? */
|
||||
bool warc_keep_log; /* Store the log file in a WARC record. */
|
||||
|
Loading…
Reference in New Issue
Block a user