Fix typo.
[samba.git] / source3 / lib / smbldap.c
index e122acd188df65ffedd22b57b768f7aa10f7a5ac..c8305eeb8025f0e9d8814250ec5f55210a2cc797 100644 (file)
@@ -103,7 +103,7 @@ ATTRIB_MAP_ENTRY attrib_map_v30[] = {
        { LDAP_ATTR_LIST_END,           NULL                    }
 };
 
-/* attributes used for alalocating RIDs */
+/* attributes used for allocating RIDs */
 
 ATTRIB_MAP_ENTRY dominfo_attr_list[] = {
        { LDAP_ATTR_DOMAIN,             "sambaDomainName"       },
@@ -890,7 +890,7 @@ int smbldap_retry_open(struct smbldap_state *ldap_state, int *attempts)
                 */
                DEBUG(3, ("Sleeping for %u milliseconds before reconnecting\n", 
                          sleep_time));
-               msleep(sleep_time);
+               smb_msleep(sleep_time);
        }
        (*attempts)++;
 
@@ -937,7 +937,7 @@ int smbldap_search(struct smbldap_state *ldap_state,
                if (sleep_time > 0) {
                        /* we wait for the LDAP replication */
                        DEBUG(5,("smbldap_search: waiting %d milliseconds for LDAP replication.\n",sleep_time));
-                       msleep(sleep_time);
+                       smb_msleep(sleep_time);
                        DEBUG(5,("smbldap_search: go on!\n"));
                        ZERO_STRUCT(ldap_state->last_rebind);
                }