summaryrefslogtreecommitdiff
path: root/source4/lib/registry/common/reg_interface.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-29 21:53:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:03 -0500
commit3ab24d0d2236241c3f7f04db1b08d1ee80ce5530 (patch)
tree3f83689d54883600487fc363ead7a166fc699edd /source4/lib/registry/common/reg_interface.c
parentb1c8e870d8340025f2cfbd6fe56c510be34bb0e1 (diff)
downloadsamba-3ab24d0d2236241c3f7f04db1b08d1ee80ce5530.tar.gz
samba-3ab24d0d2236241c3f7f04db1b08d1ee80ce5530.tar.bz2
samba-3ab24d0d2236241c3f7f04db1b08d1ee80ce5530.zip
r3374: Couple of bug fixes
(This used to be commit f8e45e143087d333da4afc193b4fa1991ba04c63)
Diffstat (limited to 'source4/lib/registry/common/reg_interface.c')
-rw-r--r--source4/lib/registry/common/reg_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c
index 09267a6370..70b600ba33 100644
--- a/source4/lib/registry/common/reg_interface.c
+++ b/source4/lib/registry/common/reg_interface.c
@@ -158,7 +158,7 @@ WERROR reg_open(struct registry_context **ret, const char *backend, const char *
} else if (!W_ERROR_IS_OK(reterror)) reterror = error;
}
- return WERR_OK;
+ return reterror;
}
WERROR reg_close (struct registry_context *ctx)