summaryrefslogtreecommitdiff
path: root/source3/utils/net_registry.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-13 15:12:04 +0200
committerMichael Adam <obnox@samba.org>2008-04-13 15:33:48 +0200
commit3f01e05a77eec61f367e5cce7908bdcf02d1749a (patch)
tree4e44157394784040311b06b17bcf184b12582d60 /source3/utils/net_registry.c
parent80b6d7b1d66509162da04e143d42fdd35a4c61e5 (diff)
downloadsamba-3f01e05a77eec61f367e5cce7908bdcf02d1749a.tar.gz
samba-3f01e05a77eec61f367e5cce7908bdcf02d1749a.tar.bz2
samba-3f01e05a77eec61f367e5cce7908bdcf02d1749a.zip
registry: change registry_init_basic() to return WERROR instead of bool
Michael (This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)
Diffstat (limited to 'source3/utils/net_registry.c')
-rw-r--r--source3/utils/net_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index 6af8236092..f6847f638d 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -473,7 +473,7 @@ int net_registry(int argc, const char **argv)
{ NULL, NULL, NULL }
};
- if (!registry_init_basic()) {
+ if (!W_ERROR_IS_OK(registry_init_basic())) {
return -1;
}