1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

improve portability, defining MAXDNAME and MAXCDNAME

This commit is contained in:
Yang Tse 2007-09-30 00:37:47 +00:00
parent c145fbea49
commit d243908a01

View File

@ -149,6 +149,11 @@ typedef enum __ns_opcode {
#define T_CNAME ns_t_cname
#define NS_MAXDNAME 256 /* maximum domain name */
#define MAXDNAME NS_MAXDNAME
#define NS_MAXCDNAME 255 /* maximum compressed domain name */
#define MAXCDNAME NS_MAXCDNAME
#define NS_PACKETSZ 512 /* maximum packet size */
#define PACKETSZ NS_PACKETSZ