summaryrefslogtreecommitdiff
path: root/source4/lib/substitute.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-03 00:17:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:22 -0500
commit6f214cc510a59b7a65ee9d4486baf14a3e579f73 (patch)
tree4e579f2500247716babf400b3bbf13039bacce02 /source4/lib/substitute.c
parentacb23b2c5fa02ebbee762a8bf4b9d1fec40d4fea (diff)
downloadsamba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.tar.gz
samba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.tar.bz2
samba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.zip
r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
Diffstat (limited to 'source4/lib/substitute.c')
-rw-r--r--source4/lib/substitute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/substitute.c b/source4/lib/substitute.c
index a01b90450a..a351db1af2 100644
--- a/source4/lib/substitute.c
+++ b/source4/lib/substitute.c
@@ -37,6 +37,7 @@ void sub_set_context(struct substitute_context *subptr)
*/
static void setup_string(char **dest, const char *str)
{
+#define SAFE_NETBIOS_CHARS ". -_"
char *s;
s = strdup(str);