summaryrefslogtreecommitdiff
path: root/nslcd/nslcd.c
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-12-15 04:01:17 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-12-15 04:01:17 -0500
commit977fe6cdb63ecdeaa067ae9e27c80539b5fefbc5 (patch)
treee72d59aced48b60c08c680a471b8fbdf01d630ad /nslcd/nslcd.c
parentdae2a573bc9c2e546ccda7db2119d5780de4ee4a (diff)
add configuring yamldir
Diffstat (limited to 'nslcd/nslcd.c')
-rw-r--r--nslcd/nslcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index 1e177b4..9bfcdd2 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -466,7 +466,7 @@ int main(int argc, char *argv[])
log_log(LOG_CRIT, "main(): malloc() failed to allocate memory");
exit(EXIT_FAILURE);
}
- struct session *session = hackers_session_create(&nslcd_threads[0]);
+ struct session *session = hackers_session_create(&nslcd_threads[0], nslcd_cfg->yamldir);
for (i = 1; i < nslcd_cfg->threads; i++)
{
if (pthread_create(&nslcd_threads[i], NULL, worker, (void*)session))