]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/connection.c
Add trickle-sync for quick mode
[openldap] / servers / slapd / connection.c
index 41bca5cb84a48bdd805d6fa8bf665503b55e6b5b..e4e2c9e28c7aa77db83da7d650b77774c44c825f 100644 (file)
@@ -367,10 +367,7 @@ Connection * connection_init(
        int flags,
        slap_ssf_t ssf,
        struct berval *authid
-#ifdef LDAP_PF_LOCAL_SENDMSG
-       , struct berval *peerbv
-#endif
-)
+       LDAP_PF_LOCAL_SENDMSG_ARG(struct berval *peerbv))
 {
        unsigned long id;
        Connection *c;
@@ -1208,10 +1205,7 @@ int connection_client_setup(
 
        c = connection_init( s, (Listener *)&dummy_list, "", "",
                CONN_IS_CLIENT, 0, NULL
-#ifdef LDAP_PF_LOCAL_SENDMSG
-               , NULL
-#endif
-               );
+               LDAP_PF_LOCAL_SENDMSG_ARG(NULL));
        if ( !c ) return -1;
 
        c->c_clientfunc = func;