diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 02:50:22 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 02:50:22 +0100 |
commit | 1492513f7783c18e0a68d800dc0f6fae25a58e54 (patch) | |
tree | 7ecac1fcf7a5461f14c8ff9b5ec97e6c372e3de3 /source4/client/cifsdd.c | |
parent | 3ebc574be4049905c6f08d188fd3cdfdc4d3ba32 (diff) | |
download | samba-1492513f7783c18e0a68d800dc0f6fae25a58e54.tar.gz samba-1492513f7783c18e0a68d800dc0f6fae25a58e54.tar.xz samba-1492513f7783c18e0a68d800dc0f6fae25a58e54.zip |
Fix build for make everything.
Diffstat (limited to 'source4/client/cifsdd.c')
-rw-r--r-- | source4/client/cifsdd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c index 6d35dc6b828..3e0ab7af782 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -358,6 +358,7 @@ static struct dd_iohandle * open_file(struct resolve_context *resolve_ctx, struct event_context *ev, const char * which, const char **ports, struct smbcli_options *smb_options, + const char *socket_options, struct smbcli_session_options *smb_session_options, struct smb_iconv_convenience *iconv_convenience) { @@ -381,6 +382,7 @@ static struct dd_iohandle * open_file(struct resolve_context *resolve_ctx, path = check_arg_pathname("if"); handle = dd_open_path(resolve_ctx, ev, path, ports, check_arg_numeric("ibs"), options, + socket_options, smb_options, smb_session_options, iconv_convenience); } else if (strcmp(which, "of") == 0) { @@ -388,6 +390,7 @@ static struct dd_iohandle * open_file(struct resolve_context *resolve_ctx, path = check_arg_pathname("of"); handle = dd_open_path(resolve_ctx, ev, path, ports, check_arg_numeric("obs"), options, + socket_options, smb_options, smb_session_options, iconv_convenience); } else { @@ -443,12 +446,14 @@ static int copy_files(struct event_context *ev, struct loadparm_context *lp_ctx) if (!(ifile = open_file(lp_resolve_context(lp_ctx), ev, "if", lp_smb_ports(lp_ctx), &options, + lp_socket_options(lp_ctx), &session_options, lp_iconv_convenience(lp_ctx)))) { return(FILESYS_EXIT_CODE); } if (!(ofile = open_file(lp_resolve_context(lp_ctx), ev, "of", lp_smb_ports(lp_ctx), &options, + lp_socket_options(lp_ctx), &session_options, lp_iconv_convenience(lp_ctx)))) { return(FILESYS_EXIT_CODE); |