From d5450bc3c771bcc4c70f07b7028c9dffd80a5281 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 1 Sep 2009 17:16:05 +0200 Subject: stop processing a domain if no provider is given --- server/confdb/confdb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'server/confdb') diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 03d8e67a..72e5eeb4 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -738,6 +738,7 @@ int confdb_get_domain(struct confdb_ctx *cdb, DEBUG(0, ("Domain [%s] does not specify a provider, disabling!\n", domain->name)); ret = EINVAL; + goto done; } domain->timeout = ldb_msg_find_attr_as_int(res->msgs[0], -- cgit