fix comment typo and change some uint32 to uint32_t
authorHerb Lewis <herb@samba.org>
Mon, 7 Jul 2008 19:32:16 +0000 (12:32 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 Jul 2008 06:36:08 +0000 (08:36 +0200)
(cherry picked from commit 8272dace64f39286e4255e9f5bc8d04fb47f2c51)

source/winbindd/idmap.c

index 10807e6640dc95641ead2cacd1eb76e743727bea..c9eae3368f4d8b96d35a43916577d646af5c75c7 100644 (file)
@@ -798,7 +798,7 @@ NTSTATUS idmap_init(void)
                }
        }
 
-       /* cleanpu temporary strings */
+       /* cleanup temporary strings */
        TALLOC_FREE( compat_backend );
 
        idmap_init_status = NT_STATUS_OK;
@@ -897,7 +897,7 @@ NTSTATUS idmap_set_gid_hwm(struct unixid *id)
 static struct idmap_domain* find_idmap_domain_from_sid( DOM_SID *account_sid )
 {
        DOM_SID domain_sid;
-       uint32 rid;
+       uint32_t rid;
        struct winbindd_domain *domain = NULL;
        int i;
 
@@ -939,7 +939,7 @@ static struct idmap_domain* find_idmap_domain_from_sid( DOM_SID *account_sid )
  Lookup an index given an idmap_domain pointer
  ******************************************************************************/
 
-static uint32 find_idmap_domain_index( struct idmap_domain *id_domain)
+static uint32_t find_idmap_domain_index( struct idmap_domain *id_domain)
 {
        int i;
 
@@ -1212,7 +1212,7 @@ static NTSTATUS idmap_backends_sids_to_unixids(struct id_map **ids)
        /* partition the requests by domain */
 
        for (i = 0; ids[i]; i++) {
-               uint32 idx;
+               uint32_t idx;
 
                if ((dom = find_idmap_domain_from_sid(ids[i]->sid)) == NULL) {
                        /* no available idmap_domain.  Move on */