summaryrefslogtreecommitdiffstats
path: root/src/back-shr.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2012-01-09 15:44:03 -0500
committerNalin Dahyabhai <nalin@redhat.com>2012-01-09 15:44:03 -0500
commit34b594aa8f8036633bded1295ac4a8ceca5f768f (patch)
tree4470033a283cce0e230ca94bbae1cd97f956ada0 /src/back-shr.c
parentd4e45d47a737b3af775c62a8ed50c5e646829284 (diff)
downloadslapi-nis-34b594aa8f8036633bded1295ac4a8ceca5f768f.tar.gz
slapi-nis-34b594aa8f8036633bded1295ac4a8ceca5f768f.tar.xz
slapi-nis-34b594aa8f8036633bded1295ac4a8ceca5f768f.zip
- change how we skip the be-txn-post hook so that it doesn't produce a misleading debug message
- set IPV6_V6ONLY to avoid logging an expected EADDRINUSE error
Diffstat (limited to 'src/back-shr.c')
-rw-r--r--src/back-shr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/back-shr.c b/src/back-shr.c
index 5697a9e..044c694 100644
--- a/src/back-shr.c
+++ b/src/back-shr.c
@@ -1957,7 +1957,6 @@ backend_shr_internal_postop_init(Slapi_PBlock *pb, struct plugin_state *state)
int
backend_shr_be_txn_postop_init(Slapi_PBlock *pb, struct plugin_state *state)
{
-#if 0
if (slapi_pblock_set(pb, SLAPI_PLUGIN_BE_TXN_POST_ADD_FN,
backend_shr_add_cb) != 0) {
slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id,
@@ -1982,7 +1981,6 @@ backend_shr_be_txn_postop_init(Slapi_PBlock *pb, struct plugin_state *state)
"error hooking up be-txn-post delete callback\n");
return -1;
}
-#endif
return 0;
}
#endif