Add MAX_DNS_NAME_LENGTH, remove more pstrings.
authorJeremy Allison <jra@samba.org>
Fri, 16 Nov 2007 02:27:26 +0000 (18:27 -0800)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Jan 2008 12:41:37 +0000 (13:41 +0100)
Jeremy.

(lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze)

source/lib/replace/replace.h

index 3557684071e4216ba5cdb34d45593a645ec13abd..3f91544e9782f914c1d898ebf7b5c8f50da5b843 100644 (file)
@@ -550,4 +550,8 @@ typedef int bool;
 #define PATH_MAX 1024
 #endif
 
 #define PATH_MAX 1024
 #endif
 
+#ifndef MAX_DNS_NAME_LENGTH
+#define MAX_DNS_NAME_LENGTH 256 /* Actually 255 but +1 for terminating null. */
+#endif
+
 #endif /* _LIBREPLACE_REPLACE_H */
 #endif /* _LIBREPLACE_REPLACE_H */