summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/rpc/dcesrv_handles.c (renamed from source4/rpc_server/handles.c)10
-rw-r--r--librpc/wscript_build1
-rw-r--r--source4/rpc_server/wscript_build2
3 files changed, 7 insertions, 6 deletions
diff --git a/source4/rpc_server/handles.c b/librpc/rpc/dcesrv_handles.c
index f0947efc95b..589a1ebb208 100644
--- a/source4/rpc_server/handles.c
+++ b/librpc/rpc/dcesrv_handles.c
@@ -1,20 +1,20 @@
-/*
+/*
Unix SMB/CIFS implementation.
server side dcerpc handle code
Copyright (C) Andrew Tridgell 2003
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -70,7 +70,7 @@ struct dcesrv_handle *dcesrv_handle_create(struct dcesrv_call_state *call,
h->iface = context->iface;
h->wire_handle.handle_type = handle_type;
h->wire_handle.uuid = GUID_random();
-
+
DLIST_ADD(context->conn->assoc_group->handles, h);
talloc_set_destructor(h, dcesrv_handle_destructor);
diff --git a/librpc/wscript_build b/librpc/wscript_build
index 928c96dbae4..aa112890a7a 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -661,6 +661,7 @@ bld.SAMBA_LIBRARY('dcerpc-server-core',
rpc/dcesrv_auth.c
rpc/dcesrv_mgmt.c
rpc/dcesrv_reply.c
+ rpc/dcesrv_handles.c
''',
deps='ndr dcerpc-binding samba-util-core gnutls GNUTLS_HELPERS',
pc_files=[],
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index 186e6a269e5..de55ad6239a 100644
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -22,7 +22,7 @@ bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
)
bld.SAMBA_LIBRARY('dcerpc_server',
- source='dcerpc_server.c handles.c',
+ source='dcerpc_server.c',
pc_files='dcerpc_server.pc',
deps='LIBCLI_AUTH ndr samba_server_gensec service auth',
public_deps='dcerpc dcerpc-server-core',