summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
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));