diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 17:17:37 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 17:17:37 +0100 |
commit | c38c2765d1059b33f044a42c6555f3d10d339911 (patch) | |
tree | a97496f0b1cf0294900dfcad47675eef1b8f4ec8 /source4/wrepl_server | |
parent | d63321a41e5e7d39a8a4e79a980cf92b1da7dfc0 (diff) | |
download | samba-c38c2765d1059b33f044a42c6555f3d10d339911.tar.gz samba-c38c2765d1059b33f044a42c6555f3d10d339911.tar.bz2 samba-c38c2765d1059b33f044a42c6555f3d10d339911.zip |
Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r-- | source4/wrepl_server/wrepl_out_helpers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_out_helpers.c b/source4/wrepl_server/wrepl_out_helpers.c index f809095f22..72d55985bb 100644 --- a/source4/wrepl_server/wrepl_out_helpers.c +++ b/source4/wrepl_server/wrepl_out_helpers.c @@ -30,6 +30,7 @@ #include "libcli/composite/composite.h" #include "libcli/wrepl/winsrepl.h" #include "libcli/resolve/resolve.h" +#include "param/param.h" enum wreplsrv_out_connect_stage { WREPLSRV_OUT_CONNECT_STAGE_WAIT_SOCKET, @@ -186,7 +187,7 @@ static struct composite_context *wreplsrv_out_connect_send(struct wreplsrv_partn wreplconn->service = service; wreplconn->partner = partner; - wreplconn->sock = wrepl_socket_init(wreplconn, service->task->event_ctx); + wreplconn->sock = wrepl_socket_init(wreplconn, service->task->event_ctx, lp_iconv_convenience(service->task->lp_ctx)); if (!wreplconn->sock) goto failed; state->stage = WREPLSRV_OUT_CONNECT_STAGE_WAIT_SOCKET; |