git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebc08d2
)
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
author
Jeremy Allison
<jra@samba.org>
Fri, 16 Nov 2007 02:27:26 +0000
(18:27 -0800)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/source/lib/replace/replace.h
b/source/lib/replace/replace.h
index 3557684071e4216ba5cdb34d45593a645ec13abd..3f91544e9782f914c1d898ebf7b5c8f50da5b843 100644
(file)
--- a/
source/lib/replace/replace.h
+++ b/
source/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 */