summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regpatch.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-09-10 14:09:07 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-09-10 14:09:07 +1000
commit9bc4d3ecba6395be2dff195fdc1ae74d07155a42 (patch)
tree354e6216080b6e21cdc2ff2e5368ee4a99aa535b /source4/lib/registry/tools/regpatch.c
parentba22de3d4fcba466d2829df47fb05c85eda2f98f (diff)
parentce288824bb4a095c5020449a79eb83fad81e8480 (diff)
downloadsamba-9bc4d3ecba6395be2dff195fdc1ae74d07155a42.tar.gz
samba-9bc4d3ecba6395be2dff195fdc1ae74d07155a42.tar.bz2
samba-9bc4d3ecba6395be2dff195fdc1ae74d07155a42.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit ed26195d0eda6dd1ca14508cfd31a48dde79d44f)
Diffstat (limited to 'source4/lib/registry/tools/regpatch.c')
-rw-r--r--source4/lib/registry/tools/regpatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/tools/regpatch.c b/source4/lib/registry/tools/regpatch.c
index 1170fbadb4..add59a5e64 100644
--- a/source4/lib/registry/tools/regpatch.c
+++ b/source4/lib/registry/tools/regpatch.c
@@ -34,7 +34,7 @@ int main(int argc, char **argv)
struct registry_context *h;
const char *file = NULL;
const char *remote = NULL;
- struct event_context *ev;
+ struct event_context *ev_ctx;
struct poptOption long_options[] = {
POPT_AUTOHELP
{"remote", 'R', POPT_ARG_STRING, &remote, 0, "connect to specified remote server", NULL},
@@ -49,12 +49,12 @@ int main(int argc, char **argv)
while((opt = poptGetNextOpt(pc)) != -1) {
}
- ev = s4_event_context_init(NULL);
+ ev_ctx = s4_event_context_init(NULL);
if (remote) {
- h = reg_common_open_remote (remote, cmdline_lp_ctx, cmdline_credentials);
+ h = reg_common_open_remote (remote, ev_ctx, cmdline_lp_ctx, cmdline_credentials);
} else {
- h = reg_common_open_local (cmdline_credentials, ev, cmdline_lp_ctx);
+ h = reg_common_open_local (cmdline_credentials, ev_ctx, cmdline_lp_ctx);
}
if (h == NULL)