From 681742138b2afbbefa7f14de937beb438409208e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 8 Jan 2013 00:59:32 -0500 Subject: Add domain arguments to sysdb services functions also fix sysdb_svc_add declarations --- src/providers/proxy/proxy_services.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/providers/proxy') diff --git a/src/providers/proxy/proxy_services.c b/src/providers/proxy/proxy_services.c index 3b79f81b..e9f3b3f5 100644 --- a/src/providers/proxy/proxy_services.c +++ b/src/providers/proxy/proxy_services.c @@ -117,7 +117,7 @@ get_serv_byname(struct proxy_id_ctx *ctx, if (status == NSS_STATUS_NOTFOUND) { /* Make sure we remove it from the cache */ - ret = sysdb_svc_delete(sysdb, name, 0, protocol); + ret = sysdb_svc_delete(sysdb, dom, name, 0, protocol); } else { /* Results found. Save them into the cache */ @@ -171,7 +171,7 @@ get_serv_byport(struct proxy_id_ctx *ctx, if (status == NSS_STATUS_NOTFOUND) { /* Make sure we remove it from the cache */ - ret = sysdb_svc_delete(sysdb, NULL, port, protocol); + ret = sysdb_svc_delete(sysdb, dom, NULL, port, protocol); } else { /* Results found. Save them into the cache */ ret = proxy_save_service(sysdb, dom, result, -- cgit