summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-20 10:17:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-20 10:17:02 +0000
commit750a1f9e5840054127a759bb64fa731df9152aa6 (patch)
treef3670af2c4566350a7539563838dc0b747d4c0cd /source3/smbd
parent17fc19fe31c949a3cf6a95460eb6b4be5a147743 (diff)
downloadsamba-750a1f9e5840054127a759bb64fa731df9152aa6.tar.gz
samba-750a1f9e5840054127a759bb64fa731df9152aa6.tar.bz2
samba-750a1f9e5840054127a759bb64fa731df9152aa6.zip
Make it clear that the 'service' isn't to be touched. (Make it const).
Andrew Bartlett (This used to be commit 6465c6727be15cd2e915710bdc3e2f4244ad2083)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 813b9f39f8..ba0e15bd4e 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -156,7 +156,7 @@ int reply_special(char *inbuf,char *outbuf)
int reply_tcon(connection_struct *conn,
char *inbuf,char *outbuf, int dum_size, int dum_buffsize)
{
- char *service;
+ const char *service;
pstring service_buf;
pstring password;
pstring dev;