]> git.sur5r.net Git - openldap/commitdiff
Fix send_ldap* macros
authorHoward Chu <hyc@openldap.org>
Thu, 25 Nov 2004 14:41:00 +0000 (14:41 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Nov 2004 14:41:00 +0000 (14:41 +0000)
servers/slapd/slap.h

index af6f8793cb0f0fee08dfe9216a31e67ff208b126..e2848762c2ba4baf0e90b876ac4d163e6a2da035 100644 (file)
@@ -2372,15 +2372,15 @@ typedef void (SEND_LDAP_INTERMEDIATE)(
        struct slap_op *op, struct slap_rep *rs);
 
 #define send_ldap_result( op, rs ) \
-       (op->o_conn->c_send_ldap_result)( op, rs )
+       ((op)->o_conn->c_send_ldap_result)( op, rs )
 #define send_search_entry( op, rs ) \
-       (op->o_conn->c_send_search_entry)( op, rs )
+       ((op)->o_conn->c_send_search_entry)( op, rs )
 #define send_search_reference( op, rs ) \
-       (op->o_conn->c_send_search_reference)( op, rs )
+       ((op)->o_conn->c_send_search_reference)( op, rs )
 #define send_ldap_extended( op, rs ) \
-       (op->o_conn->c_send_ldap_extended)( op, rs )
+       ((op)->o_conn->c_send_ldap_extended)( op, rs )
 #define send_ldap_intermediate( op, rs ) \
-       (op->o_conn->c_send_ldap_intermediate)( op, rs )
+       ((op)->o_conn->c_send_ldap_intermediate)( op, rs )
 
 typedef struct slap_listener Listener;