summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/file.c')
-rw-r--r--source3/lib/netapi/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/file.c b/source3/lib/netapi/file.c
index 1e406d2884..551f9ff4f0 100644
--- a/source3/lib/netapi/file.c
+++ b/source3/lib/netapi/file.c
@@ -36,7 +36,7 @@ WERROR NetFileClose_r(struct libnetapi_ctx *ctx,
struct dcerpc_binding_handle *b;
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
- &ndr_table_srvsvc.syntax_id,
+ &ndr_table_srvsvc,
&b);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -130,7 +130,7 @@ WERROR NetFileGetInfo_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
- &ndr_table_srvsvc.syntax_id,
+ &ndr_table_srvsvc,
&b);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -201,7 +201,7 @@ WERROR NetFileEnum_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
- &ndr_table_srvsvc.syntax_id,
+ &ndr_table_srvsvc,
&b);
if (!W_ERROR_IS_OK(werr)) {
goto done;