summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-15 18:27:26 -0800
committerStefan Metzmacher <metze@samba.org>2008-01-15 13:41:37 +0100
commit0aed6d4125a2c9b525e1119b72c36b651dd4ef3f (patch)
treecb9bc3bbbaa54f5decd55bfe3dde871625ac88c6 /source4/lib/replace
parent50ba04f51258abed6405ff0c8a6e1ea324ab5892 (diff)
downloadsamba-0aed6d4125a2c9b525e1119b72c36b651dd4ef3f.tar.gz
samba-0aed6d4125a2c9b525e1119b72c36b651dd4ef3f.tar.bz2
samba-0aed6d4125a2c9b525e1119b72c36b651dd4ef3f.zip
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy. (lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze) (This used to be commit db4eabf7cde1008a40a46e5c40a99e9a73cf3ff5)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 3557684071..3f91544e97 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -550,4 +550,8 @@ typedef int bool;
#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 */