From 43892abff68054928312fd54e50d5bdebe604b63 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 16 Jul 2008 12:05:52 +0200 Subject: 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 Signed-off-by: Derrell Lipman (This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468) --- source3/libsmb/libsmb_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') 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; -- cgit