diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-02 17:52:14 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-02 17:56:41 +0100 |
commit | a54c558ca6e6eee1c16817bfb9d9b7dcabd578b8 (patch) | |
tree | ed4d4c7f55a97aac169e24f461e9d5c9c78bf5af | |
parent | ec1e831bd8791e7b2c373f1119e1d3e33b06e152 (diff) | |
download | samba-a54c558ca6e6eee1c16817bfb9d9b7dcabd578b8.tar.gz samba-a54c558ca6e6eee1c16817bfb9d9b7dcabd578b8.tar.bz2 samba-a54c558ca6e6eee1c16817bfb9d9b7dcabd578b8.zip |
Revert "s4 winbind: Avoid a "discards const" compiler warning."
This reverts commit dd8d4b6fd178df6847052dac207a4aafc0697d71.
s3call->response.extra_data.data is a pointer and no fstring!
metze
-rw-r--r-- | source4/winbind/wb_samba3_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c index 6cad76b08b..ea3050503d 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; - WBSRV_SAMBA3_SET_STRING(s3call->response.extra_data.data, path); - + s3call->response.extra_data.data = path; + s3call->response.length += strlen(path) + 1; return NT_STATUS_OK; } |