From 11f69381629664ac606a74d267f6df5d464ecbc3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 3 Nov 2005 12:45:57 +0000 Subject: [PATCH] ITS#4136 fix prev commit --- servers/slapd/connection.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 4203844ab8..e3bd2f5d41 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1895,9 +1895,11 @@ connection_input( Connection *conn ) connection_op_queue( op ); cri->op = op; } else { - cri->nullop = 1; - rc = ldap_pvt_thread_pool_submit( &connection_pool, - connection_operation, (void *) cri->op ); + if ( !cri->nullop ) { + cri->nullop = 1; + rc = ldap_pvt_thread_pool_submit( &connection_pool, + connection_operation, (void *) cri->op ); + } connection_op_activate( op ); } #else -- 2.39.5