mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix indentation and remove excess variable
This commit is contained in:
parent
97ce41b2d0
commit
550cd6e9d2
@ -1,3 +1,8 @@
|
|||||||
|
2014-07-05 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
|
* http.c (gethttp): Fix indentation of conditional block
|
||||||
|
(gethttp): Remove unneeded variable
|
||||||
|
|
||||||
2014-07-03 Darshit Shah <darnir@gmail.com>
|
2014-07-03 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
* wget.h (uerr_t): Remove unused error codes
|
* wget.h (uerr_t): Remove unused error codes
|
||||||
|
@ -2904,8 +2904,7 @@ read_header:
|
|||||||
{
|
{
|
||||||
if (opt.unlink && file_exists_p (hs->local_file))
|
if (opt.unlink && file_exists_p (hs->local_file))
|
||||||
{
|
{
|
||||||
int res = unlink (hs->local_file);
|
if (unlink (hs->local_file) < 0)
|
||||||
if (res < 0)
|
|
||||||
{
|
{
|
||||||
logprintf (LOG_NOTQUIET, "%s: %s\n", hs->local_file,
|
logprintf (LOG_NOTQUIET, "%s: %s\n", hs->local_file,
|
||||||
strerror (errno));
|
strerror (errno));
|
||||||
|
Loading…
Reference in New Issue
Block a user