diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-07-15 09:43:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-07-15 09:43:34 +0000 |
commit | cf853314f9eda479c6f18bfc725fa0b5d88d0a38 (patch) | |
tree | c9daaf8c57ca020e9528ed2c115bc4549efeac9a | |
parent | cfc5ca3416cea5ea5d2ac34f5521cb6367e42cd2 (diff) | |
download | samba-cf853314f9eda479c6f18bfc725fa0b5d88d0a38.tar.gz |
don't use C++ comments in C - it doesn't work on many compilers
-rw-r--r-- | source/lib/substitute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/substitute.c b/source/lib/substitute.c index 1e8d8c2555d..6d96a1820f1 100644 --- a/source/lib/substitute.c +++ b/source/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'; |