]> git.sur5r.net Git - openldap/commitdiff
ITS#4136 fix prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 3 Nov 2005 12:45:57 +0000 (12:45 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 3 Nov 2005 12:45:57 +0000 (12:45 +0000)
servers/slapd/connection.c

index 4203844ab805f3c7c6a327820a458f25a3ca2db0..e3bd2f5d411915b288f6904a3be681581cb38549 100644 (file)
@@ -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