summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 09:43:34 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 09:43:34 +0000
commitc238b5c6a19945c34cfdb524a828957772c74cda (patch)
tree63a318a85d5a618f7ff5c66d96306607714378c4 /source3
parent369040ac5d7220a301b09c16b0a6f4a3ce14c8b6 (diff)
downloadsamba-c238b5c6a19945c34cfdb524a828957772c74cda.tar.gz
samba-c238b5c6a19945c34cfdb524a828957772c74cda.tar.bz2
samba-c238b5c6a19945c34cfdb524a828957772c74cda.zip
don't use C++ comments in C - it doesn't work on many compilers
(This used to be commit cf853314f9eda479c6f18bfc725fa0b5d88d0a38)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/substitute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 1e8d8c2555..6d96a1820f 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -118,7 +118,7 @@ static char * realloc_expand_env_var(char *str, char *p)
r = p + 3;
copylen = q - r;
- envname = (char *)malloc(copylen + 1 + 4); // reserve space for use later add %$() chars
+ envname = (char *)malloc(copylen + 1 + 4); /* reserve space for use later add %$() chars */
if (envname == NULL) return NULL;
strncpy(envname,r,copylen);
envname[copylen] = '\0';