Ignore:
Timestamp:
Aug 7, 2008, 11:49:04 AM (17 years ago)
Author:
Paul Smedley
Message:

Update trunk to 3.2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/nsswitch/libwbclient/wbc_sid.c

    r138 r141  
    125125        p = q+1;
    126126        x = (uint32_t)strtol(p, &q, 10);
    127         if (x==0 || !q || *q!='-') {
     127        if (!q || *q!='-') {
    128128                wbc_status = WBC_ERR_INVALID_SID;
    129129                BAIL_ON_WBC_ERROR(wbc_status);
     
    141141        sid->num_auths = 0;
    142142        while (sid->num_auths < WBC_MAXSUBAUTHS) {
    143                 if ((x=(uint32_t)strtoul(p, &q, 10)) == 0)
     143                x=(uint32_t)strtoul(p, &q, 10);
     144                if (p == q)
    144145                        break;
    145146                sid->sub_auths[sid->num_auths++] = x;
Note: See TracChangeset for help on using the changeset viewer.