diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-30 06:05:05 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-30 06:05:05 +0200 |
commit | 454122ab091715edf02c26e0a408141c7374b693 (patch) | |
tree | 300b636b3ec0bffd859974ae0f266fb0d587386b /source4/librpc/rpc | |
parent | 2400b1fea2a07ad3972ee8133e37eaf2f91499d0 (diff) | |
download | samba-454122ab091715edf02c26e0a408141c7374b693.tar.gz samba-454122ab091715edf02c26e0a408141c7374b693.tar.bz2 samba-454122ab091715edf02c26e0a408141c7374b693.zip |
make sure dcerpc is always initialized.
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 5bbcc5e91c..5cee9f27ad 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -33,9 +33,7 @@ _PUBLIC_ NTSTATUS dcerpc_init(void) { - gensec_init(global_loadparm); - - return NT_STATUS_OK; + return gensec_init(global_loadparm); } static void dcerpc_connection_dead(struct dcerpc_connection *conn, NTSTATUS status); |