summaryrefslogtreecommitdiff
path: root/source3/lib/substitute.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-20 17:13:38 +0000
committerGerald Carter <jerry@samba.org>2003-08-20 17:13:38 +0000
commit8bfe26b62db2e671b143d93a5428f8fb64a9df05 (patch)
tree37d3f77a451087d3f7491a70bd076e38f977da5a /source3/lib/substitute.c
parent0722fc16a445a47ef3aaa60e7a0e5324bfcf55eb (diff)
downloadsamba-8bfe26b62db2e671b143d93a5428f8fb64a9df05.tar.gz
samba-8bfe26b62db2e671b143d93a5428f8fb64a9df05.tar.bz2
samba-8bfe26b62db2e671b143d93a5428f8fb64a9df05.zip
metze's autogenerate patch for version.h
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r--source3/lib/substitute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index c0d0096806..71c7b9ab1c 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -384,7 +384,7 @@ void standard_sub_basic(const char *smb_name, char *str,size_t len)
string_sub(p,"%m", get_remote_machine_name(),l);
break;
case 'v' :
- string_sub(p,"%v", VERSION,l);
+ string_sub(p,"%v", SAMBA_VERSION_STRING,l);
break;
case '$' :
p += expand_env_var(p,l);
@@ -539,7 +539,7 @@ char *alloc_sub_basic(const char *smb_name, const char *str)
t = realloc_string_sub(t, "%m", remote_machine);
break;
case 'v' :
- t = realloc_string_sub(t, "%v", VERSION);
+ t = realloc_string_sub(t, "%v", SAMBA_VERSION_STRING);
break;
case '$' :
t = realloc_expand_env_var(t, p); /* Expand environment variables */