summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/common.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-09 18:03:54 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-09 18:03:54 +0200
commit3911808323c964c36c2639f68d59d7aca1a2a96b (patch)
tree8462cdad522bf41a88f9fba031425d60fc5f1a16 /source4/lib/registry/tools/common.c
parent8b6b8513909fb0c5acabea060921ed2034b3284d (diff)
downloadsamba-3911808323c964c36c2639f68d59d7aca1a2a96b.tar.gz
samba-3911808323c964c36c2639f68d59d7aca1a2a96b.tar.bz2
samba-3911808323c964c36c2639f68d59d7aca1a2a96b.zip
Fix up the "reg_common_open_remote" call
This fixes up the "reg_common_open_remote" call because it didn't work anymore without the event context. (This used to be commit 42ab865fc937a625d1eece45abe96bf354ddff8b)
Diffstat (limited to 'source4/lib/registry/tools/common.c')
-rw-r--r--source4/lib/registry/tools/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/common.c b/source4/lib/registry/tools/common.c
index 3ea780de60..f770f6a3ca 100644
--- a/source4/lib/registry/tools/common.c
+++ b/source4/lib/registry/tools/common.c
@@ -24,13 +24,14 @@
#include "lib/registry/tools/common.h"
struct registry_context *reg_common_open_remote(const char *remote,
+ struct event_context *ev_ctx,
struct loadparm_context *lp_ctx,
struct cli_credentials *creds)
{
struct registry_context *h = NULL;
WERROR error;
- error = reg_open_remote(&h, NULL, creds, lp_ctx, remote, NULL);
+ error = reg_open_remote(&h, NULL, creds, lp_ctx, remote, ev_ctx);
if (!W_ERROR_IS_OK(error)) {
fprintf(stderr, "Unable to open remote registry at %s:%s \n",