summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-12-26 10:35:00 +0100
committerKai Blin <kai@samba.org>2008-12-29 12:52:26 +0100
commitdd8d4b6fd178df6847052dac207a4aafc0697d71 (patch)
tree2faa1128099758e65c6f6c0d96285a36cb2a131b /source4
parent181d4fd31a05e5d9bbe46428a5be01bc2a9d582d (diff)
downloadsamba-dd8d4b6fd178df6847052dac207a4aafc0697d71.tar.gz
samba-dd8d4b6fd178df6847052dac207a4aafc0697d71.tar.bz2
samba-dd8d4b6fd178df6847052dac207a4aafc0697d71.zip
s4 winbind: Avoid a "discards const" compiler warning.
Diffstat (limited to 'source4')
-rw-r--r--source4/winbind/wb_samba3_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c
index 03b59f56e9..530c95daa3 100644
--- a/source4/winbind/wb_samba3_cmd.c
+++ b/source4/winbind/wb_samba3_cmd.c
@@ -115,8 +115,8 @@ NTSTATUS wbsrv_samba3_priv_pipe_dir(struct wbsrv_samba3_call *s3call)
{
const char *path = s3call->wbconn->listen_socket->service->priv_socket_path;
s3call->response.result = WINBINDD_OK;
- s3call->response.extra_data.data = path;
-
+ WBSRV_SAMBA3_SET_STRING(s3call->response.extra_data.data, path);
+
s3call->response.length += strlen(path) + 1;
return NT_STATUS_OK;
}