summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifpsrv.c
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2014-10-15 18:01:55 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-22 15:44:39 +0200
commit8bccd95e275fae760a991da394235e4e70e57bbd (patch)
tree1ecb2c372b0626c1feb1465cf7ae26626d3c1763 /src/responder/ifp/ifpsrv.c
parent4a5cced91df68a85ef0b30de8efe104c8a0aab7a (diff)
downloadsssd-8bccd95e275fae760a991da394235e4e70e57bbd.tar.gz
sssd-8bccd95e275fae760a991da394235e4e70e57bbd.tar.xz
sssd-8bccd95e275fae760a991da394235e4e70e57bbd.zip
responders: Do not initialize pipe fd if already present
Allow to skip initialization of pipe file descriptor if the responder context already has one. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/responder/ifp/ifpsrv.c')
-rw-r--r--src/responder/ifp/ifpsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/ifp/ifpsrv.c b/src/responder/ifp/ifpsrv.c
index 8d8fe885a..eddeec981 100644
--- a/src/responder/ifp/ifpsrv.c
+++ b/src/responder/ifp/ifpsrv.c
@@ -310,7 +310,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx,
ifp_cmds = get_ifp_cmds();
ret = sss_process_init(mem_ctx, ev, cdb,
ifp_cmds,
- NULL, NULL,
+ NULL, -1, NULL, -1,
CONFDB_IFP_CONF_ENTRY,
SSS_IFP_SBUS_SERVICE_NAME,
SSS_IFP_SBUS_SERVICE_VERSION,