git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f796f18
)
const religion
author
Simo Sorce
<idra@samba.org>
Mon, 31 Dec 2001 15:48:32 +0000
(15:48 +0000)
committer
Simo Sorce
<idra@samba.org>
Mon, 31 Dec 2001 15:48:32 +0000
(15:48 +0000)
source/lib/substitute.c
patch
|
blob
|
history
diff --git
a/source/lib/substitute.c
b/source/lib/substitute.c
index 2669929920cc8680027628343722443b2cf304ce..8e2ee3c0523ccecd9ff7726e7c13ad2be778deae 100644
(file)
--- a/
source/lib/substitute.c
+++ b/
source/lib/substitute.c
@@
-129,7
+129,7
@@
static char *automount_path(char *user_name)
This is Luke's original function with the NIS lookup code
moved out to a separate function.
*******************************************************************/
This is Luke's original function with the NIS lookup code
moved out to a separate function.
*******************************************************************/
-static char *automount_server(char *user_name)
+static char *automount_server(c
onst c
har *user_name)
{
static pstring server_name;
{
static pstring server_name;
@@
-166,7
+166,7
@@
static char *automount_server(char *user_name)
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
-void standard_sub_basic(char *smb_name, char *str)
+void standard_sub_basic(c
onst c
har *smb_name, char *str)
{
char *p, *s;
fstring pidstr;
{
char *p, *s;
fstring pidstr;
@@
-230,7
+230,7
@@
void standard_sub_basic(char *smb_name, char *str)
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
-void standard_sub_advanced(int snum, c
har *user, char *connectpath, gid_t gid,
char *smb_name, char *str)
+void standard_sub_advanced(int snum, c
onst char *user, const char *connectpath, gid_t gid, const
char *smb_name, char *str)
{
char *p, *s, *home;
{
char *p, *s, *home;