diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 08:43:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:08:37 +0100 |
commit | 7237d777d5fb208a7ae305090d07c11bb6e6ba34 (patch) | |
tree | 6eeaf34dc6688a93194bcdb27e9280f6834f2e00 /source4 | |
parent | 100f4e318e2cf61413a70bb269efadc2c73228c8 (diff) | |
download | samba-7237d777d5fb208a7ae305090d07c11bb6e6ba34.tar.gz samba-7237d777d5fb208a7ae305090d07c11bb6e6ba34.tar.bz2 samba-7237d777d5fb208a7ae305090d07c11bb6e6ba34.zip |
s4:winbind: s/private/private_data
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/winbind/wb_samba3_protocol.c | 6 | ||||
-rw-r--r-- | source4/winbind/wb_server.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c index d40e0e6bc6..77c5bf3a1e 100644 --- a/source4/winbind/wb_samba3_protocol.c +++ b/source4/winbind/wb_samba3_protocol.c @@ -28,7 +28,7 @@ work out if a packet is complete for protocols that use a 32 bit host byte order length */ -NTSTATUS wbsrv_samba3_packet_full_request(void *private, DATA_BLOB blob, size_t *size) +NTSTATUS wbsrv_samba3_packet_full_request(void *private_data, DATA_BLOB blob, size_t *size) { uint32_t *len; if (blob.length < 4) { @@ -270,10 +270,10 @@ NTSTATUS wbsrv_samba3_send_reply(struct wbsrv_samba3_call *call) return status; } -NTSTATUS wbsrv_samba3_process(void *private, DATA_BLOB blob) +NTSTATUS wbsrv_samba3_process(void *private_data, DATA_BLOB blob) { NTSTATUS status; - struct wbsrv_connection *wbconn = talloc_get_type(private, + struct wbsrv_connection *wbconn = talloc_get_type(private_data, struct wbsrv_connection); struct wbsrv_samba3_call *call; status = wbsrv_samba3_pull_request(blob, wbconn, &call); diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c index 9ffcd467ee..bf1f3f29ac 100644 --- a/source4/winbind/wb_server.c +++ b/source4/winbind/wb_server.c @@ -41,9 +41,9 @@ void wbsrv_terminate_connection(struct wbsrv_connection *wbconn, const char *rea /* called on a tcp recv error */ -static void wbsrv_recv_error(void *private, NTSTATUS status) +static void wbsrv_recv_error(void *private_data, NTSTATUS status) { - struct wbsrv_connection *wbconn = talloc_get_type(private, struct wbsrv_connection); + struct wbsrv_connection *wbconn = talloc_get_type(private_data, struct wbsrv_connection); wbsrv_terminate_connection(wbconn, nt_errstr(status)); } |