summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-01-13 20:30:28 +0000
committerRichard Sharpe <sharpe@samba.org>2003-01-13 20:30:28 +0000
commit5bbac9dd802cc7a5a5b8a3c6edc4f1cee90c9de7 (patch)
tree66e4e0407c8c6720489d8e9262f32533b1553f9a /source3/libsmb
parent8a78a0a27ae5fdf43f137ea3c9fcd6dc4862a70f (diff)
downloadsamba-5bbac9dd802cc7a5a5b8a3c6edc4f1cee90c9de7.tar.gz
samba-5bbac9dd802cc7a5a5b8a3c6edc4f1cee90c9de7.tar.bz2
samba-5bbac9dd802cc7a5a5b8a3c6edc4f1cee90c9de7.zip
Make sure that those cleanups actually went in.
(This used to be commit 9a38e378115a1c36d0cd7c41f4c5767c23b4eb3f)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index edf582b34d..5ceb36795a 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -70,7 +70,7 @@ smbc_parse_path(SMBCCTX *context, const char *fname, char *server, char *share,
{
static pstring s;
pstring userinfo;
- char *p;
+ const char *p;
char *q, *r;
int len;
@@ -119,7 +119,7 @@ smbc_parse_path(SMBCCTX *context, const char *fname, char *server, char *share,
r = strchr_m(p, '/');
if (q && (!r || q < r)) {
pstring username, passwd, domain;
- char *u = userinfo;
+ const char *u = userinfo;
next_token(&p, userinfo, "@", sizeof(fstring));