summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-10-25 19:22:34 +0200
committerJeremy Allison <jra@samba.org>2017-10-27 20:33:24 +0200
commit9f3151a4e240480f2ed66115314b2f19a06967bf (patch)
tree114c7c5d036618ee27fbd7b6e04ab1c06f2ab36b /source3/include
parent0a796f5677e6465b4caa01b8e6c4720cd16dcdd4 (diff)
downloadsamba-9f3151a4e240480f2ed66115314b2f19a06967bf.tar.gz
libsmbclient: Use const for the user
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13101 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index cf67b1d47a4..b41a2924abd 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -491,7 +491,7 @@ smbc_getUser(SMBCCTX *c);
/** Set the username used for making connections */
void
-smbc_setUser(SMBCCTX *c, char * user);
+smbc_setUser(SMBCCTX *c, const char *user);
/**
* Get the timeout used for waiting on connections and response data