mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:53:32 +03:00
tftpd: prefix TFTP protocol error E* constants with TFTP_
To avoid mistaking them for `errno` error codes. Closes #16666
This commit is contained in:
parent
51c9238c76
commit
ab2cf88dad
2 changed files with 25 additions and 25 deletions
|
|
@ -51,13 +51,13 @@ struct tftphdr {
|
|||
#define th_code th_block
|
||||
#define th_msg th_data
|
||||
|
||||
#define EUNDEF 0
|
||||
#define ENOTFOUND 1
|
||||
#define EACCESS 2
|
||||
#define ENOSPACE 3
|
||||
#define EBADOP 4
|
||||
#define EBADID 5
|
||||
#define EEXISTS 6
|
||||
#define ENOUSER 7
|
||||
#define TFTP_EUNDEF 0
|
||||
#define TFTP_ENOTFOUND 1
|
||||
#define TFTP_EACCESS 2
|
||||
#define TFTP_ENOSPACE 3
|
||||
#define TFTP_EBADOP 4
|
||||
#define TFTP_EBADID 5
|
||||
#define TFTP_EEXISTS 6
|
||||
#define TFTP_ENOUSER 7
|
||||
|
||||
#endif /* HEADER_CURL_SERVER_TFTP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue