Merge some more FUNCTION_MACRO stuff.
authorTim Potter <tpot@samba.org>
Fri, 20 Dec 2002 01:22:57 +0000 (01:22 +0000)
committerTim Potter <tpot@samba.org>
Fri, 20 Dec 2002 01:22:57 +0000 (01:22 +0000)
source/passdb/pdb_ldap.c

index 2427075180ffb2506ad2a7338dceebe9666bb0a8..884db4c26c6101d03b971099bc4c3759878031f8 100644 (file)
@@ -527,7 +527,7 @@ static int ldapsam_search(struct ldapsam_privates *ldap_state,
        }
        
        if (rc == LDAP_SERVER_DOWN) {
-               DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
+               DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
                ldapsam_close(ldap_state);      
        }
        
@@ -551,7 +551,7 @@ static int ldapsam_modify(struct ldapsam_privates *ldap_state, char *dn, LDAPMod
        }
        
        if (rc == LDAP_SERVER_DOWN) {
-               DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
+               DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
                ldapsam_close(ldap_state);      
        }
        
@@ -575,7 +575,7 @@ static int ldapsam_add(struct ldapsam_privates *ldap_state, const char *dn, LDAP
        }
        
        if (rc == LDAP_SERVER_DOWN) {
-               DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
+               DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
                ldapsam_close(ldap_state);      
        }
                
@@ -599,7 +599,7 @@ static int ldapsam_delete(struct ldapsam_privates *ldap_state, char *dn)
        }
        
        if (rc == LDAP_SERVER_DOWN) {
-               DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
+               DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
                ldapsam_close(ldap_state);      
        }
                
@@ -623,7 +623,7 @@ static int ldapsam_extended_operation(struct ldapsam_privates *ldap_state, LDAP_
        }
        
        if (rc == LDAP_SERVER_DOWN) {
-               DEBUG(0,("%s: LDAP server is down!\n",__FUNCTION__));
+               DEBUG(0,("%s: LDAP server is down!\n",FUNCTION_MACRO));
                ldapsam_close(ldap_state);      
        }