summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndreas Schneider <anschneider@suse.de>2008-07-16 12:05:52 +0200
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-07-16 10:41:43 -0400
commit43892abff68054928312fd54e50d5bdebe604b63 (patch)
tree3a7a4696795a68e1c1e6f2d535839a7ca1220ea4 /source3/libsmb
parentdb7bff1babdb556efa54b7ff02d66fb50e833a30 (diff)
downloadsamba-43892abff68054928312fd54e50d5bdebe604b63.tar.gz
samba-43892abff68054928312fd54e50d5bdebe604b63.tar.bz2
samba-43892abff68054928312fd54e50d5bdebe604b63.zip
The buf in the smbclient write function should be const.
As we try to provide POSIX function, we should use const like all other POSIX function. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> (This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmb_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c
index 423450b23e..7b287096c2 100644
--- a/source3/libsmb/libsmb_file.c
+++ b/source3/libsmb/libsmb_file.c
@@ -329,7 +329,7 @@ SMBC_read_ctx(SMBCCTX *context,
ssize_t
SMBC_write_ctx(SMBCCTX *context,
SMBCFILE *file,
- void *buf,
+ const void *buf,
size_t count)
{
int ret;