mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Remove unused error codes
This commit is contained in:
parent
416d0e892c
commit
97ce41b2d0
@ -1,3 +1,8 @@
|
|||||||
|
2014-07-03 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
|
* wget.h (uerr_t): Remove unused error codes
|
||||||
|
* http.c: (http_loop): Remove reference to unused error code
|
||||||
|
|
||||||
2014-06-30 Giuseppe Scrivano <gscrivan@redhat.com>
|
2014-06-30 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||||
|
|
||||||
* convert.c (local_quote_string): Initialize newname.
|
* convert.c (local_quote_string): Initialize newname.
|
||||||
|
@ -3169,7 +3169,7 @@ Spider mode enabled. Check if remote file exists.\n"));
|
|||||||
|
|
||||||
switch (err)
|
switch (err)
|
||||||
{
|
{
|
||||||
case HERR: case HEOF: case CONSOCKERR: case CONCLOSED:
|
case HERR: case HEOF: case CONSOCKERR:
|
||||||
case CONERROR: case READERR: case WRITEFAILED:
|
case CONERROR: case READERR: case WRITEFAILED:
|
||||||
case RANGEERR: case FOPEN_EXCL_ERR:
|
case RANGEERR: case FOPEN_EXCL_ERR:
|
||||||
/* Non-fatal errors continue executing the loop, which will
|
/* Non-fatal errors continue executing the loop, which will
|
||||||
|
21
src/wget.h
21
src/wget.h
@ -332,27 +332,18 @@ enum
|
|||||||
simplified. */
|
simplified. */
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
/* 0 */
|
|
||||||
NOCONERROR, HOSTERR, CONSOCKERR, CONERROR, CONSSLERR,
|
NOCONERROR, HOSTERR, CONSOCKERR, CONERROR, CONSSLERR,
|
||||||
CONIMPOSSIBLE, NEWLOCATION, NOTENOUGHMEM /* ! */,
|
CONIMPOSSIBLE, NEWLOCATION,
|
||||||
CONPORTERR /* ! */, CONCLOSED /* ! */,
|
|
||||||
/* 10 */
|
|
||||||
FTPOK, FTPLOGINC, FTPLOGREFUSED, FTPPORTERR, FTPSYSERR,
|
FTPOK, FTPLOGINC, FTPLOGREFUSED, FTPPORTERR, FTPSYSERR,
|
||||||
FTPNSFOD, FTPRETROK /* ! */, FTPUNKNOWNTYPE, FTPRERR, FTPREXC /* ! */,
|
FTPNSFOD, FTPUNKNOWNTYPE, FTPRERR,
|
||||||
/* 20 */
|
|
||||||
FTPSRVERR, FTPRETRINT, FTPRESTFAIL, URLERROR, FOPENERR,
|
FTPSRVERR, FTPRETRINT, FTPRESTFAIL, URLERROR, FOPENERR,
|
||||||
FOPEN_EXCL_ERR, FWRITEERR, HOK /* ! */, HLEXC /* ! */, HEOF,
|
FOPEN_EXCL_ERR, FWRITEERR, HEOF,
|
||||||
/* 30 */
|
HERR, RETROK, RECLEVELEXC, WRONGCODE,
|
||||||
HERR, RETROK, RECLEVELEXC, FTPACCDENIED /* ! */, WRONGCODE,
|
|
||||||
FTPINVPASV, FTPNOPASV, CONTNOTSUPPORTED, RETRUNNEEDED, RETRFINISHED,
|
FTPINVPASV, FTPNOPASV, CONTNOTSUPPORTED, RETRUNNEEDED, RETRFINISHED,
|
||||||
/* 40 */
|
READERR, TRYLIMEXC, FILEBADFILE, RANGEERR,
|
||||||
READERR, TRYLIMEXC, URLBADPATTERN /* ! */, FILEBADFILE /* ! */, RANGEERR,
|
RETRBADPATTERN, PROXERR,
|
||||||
RETRBADPATTERN, RETNOTSUP /* ! */, ROBOTSOK /* ! */, NOROBOTS /* ! */,
|
|
||||||
PROXERR,
|
|
||||||
/* 50 */
|
|
||||||
AUTHFAILED, QUOTEXC, WRITEFAILED, SSLINITFAILED, VERIFCERTERR,
|
AUTHFAILED, QUOTEXC, WRITEFAILED, SSLINITFAILED, VERIFCERTERR,
|
||||||
UNLINKERR, NEWLOCATION_KEEP_POST, CLOSEFAILED, ATTRMISSING, UNKNOWNATTR,
|
UNLINKERR, NEWLOCATION_KEEP_POST, CLOSEFAILED, ATTRMISSING, UNKNOWNATTR,
|
||||||
|
|
||||||
WARC_ERR, WARC_TMP_FOPENERR, WARC_TMP_FWRITEERR
|
WARC_ERR, WARC_TMP_FOPENERR, WARC_TMP_FWRITEERR
|
||||||
} uerr_t;
|
} uerr_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user