- Timestamp:
- Aug 21, 2010, 3:00:19 AM (15 years ago)
- File:
- 
          - 1 edited
 
 - 
          trunk/server/common/oursrc/accountadm/admof.c (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        trunk/server/common/oursrc/accountadm/admof.cr1596 r1597 62 62 .idlist_val = NULL}; 63 63 64 if (trights == NULL || tnames.namelist_val == NULL) 65 die("internal error: malloc failed: %m"); 66 64 67 for (i = 0; i < n; ++i) { 65 68 int off; … … 72 75 if (pr_NameToId(&tnames, &tids) != 0) 73 76 die("internal error: pr_NameToId failed"); 74 if (tids.idlist_len !=n)75 die("internal error: pr_NameToId did not return as many ids as names");77 if (tids.idlist_len < n) 78 die("internal error: pr_NameToId did not return enough ids"); 76 79 77 80 for (i = 0; i < n; ++i) { 
Note: See TracChangeset
          for help on using the changeset viewer.
      
