summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-03 15:03:26 +0100
committerVolker Lendecke <vl@sernet.de>2007-11-05 02:45:14 +0100
commitec1ecd92c914048a72a61b373a1c6d8507d0e92f (patch)
tree3653d2c64cfbd9693ab555758df14840066c91ff /source3/smbd
parent58fbb512cc7a26471a2aae88425de4d337258e3a (diff)
downloadsamba-ec1ecd92c914048a72a61b373a1c6d8507d0e92f.tar.gz
samba-ec1ecd92c914048a72a61b373a1c6d8507d0e92f.tar.bz2
samba-ec1ecd92c914048a72a61b373a1c6d8507d0e92f.zip
Make load_registry_service return the share number
(This used to be commit 934964c90f39d588d2399f10e3738ab1b4e01290)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 2402be3aed..2cd3363cf6 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -312,7 +312,6 @@ static int load_registry_service(const char *servicename)
TALLOC_FREE(value);
}
- res = 0;
error:
TALLOC_FREE(key);