From d0a94602e094f0c50c9b95e5651eb5017c730481 Mon Sep 17 00:00:00 2001 From: fredrik Date: Tue, 14 Nov 2006 03:56:14 +0000 Subject: [PATCH] Use findfile instead of findconfig file. Add filldef to findfile. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@735 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/ui.c b/daemon/ui.c index 066615d..b3a514d 100644 --- a/daemon/ui.c +++ b/daemon/ui.c @@ -1124,7 +1124,7 @@ static void cmd_filtercmd(struct socket *sk, struct uidata *data, int argc, wcha sq(sk, 0, L"505", L"System error - Could not fork session", "Internal error", NULL); return; } - if((filtercmd = findfile(icswcstombs(confgetstr("ui", "filtercmd"), NULL, NULL), "dcdl-filtercmd", pwent->pw_dir)) == NULL) + if((filtercmd = findfile(icswcstombs(confgetstr("ui", "filtercmd"), NULL, NULL), "dcdl-filtercmd", pwent->pw_dir, 0)) == NULL) { flog(LOG_WARNING, "could not find filtercmd executable for user %s", pwent->pw_name); sq(sk, 0, L"505", L"System error - Could not fork session", L"Could not find filtercmd executable", NULL); -- 2.11.0