summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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';