Ignore:
Timestamp:
May 24, 2009, 7:51:24 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/lib/netapi/user.c

    r206 r223  
    15111511        NTSTATUS status = NT_STATUS_OK;
    15121512        WERROR werr;
     1513        WERROR werr_tmp;
     1514
     1515        *r->out.entries_read = 0;
    15131516
    15141517        ZERO_STRUCT(connect_handle);
     
    15551558                                               &returned_size,
    15561559                                               &info);
    1557         if (!NT_STATUS_IS_OK(status)) {
    1558                 werr = ntstatus_to_werror(status);
    1559                 goto done;
    1560         }
    1561 
    1562         werr = convert_samr_dispinfo_to_NET_DISPLAY(ctx, &info,
    1563                                                     r->in.level,
    1564                                                     r->out.entries_read,
    1565                                                     r->out.buffer);
     1560        werr = ntstatus_to_werror(status);
     1561        if (NT_STATUS_IS_ERR(status)) {
     1562                goto done;
     1563        }
     1564
     1565        werr_tmp = convert_samr_dispinfo_to_NET_DISPLAY(ctx, &info,
     1566                                                        r->in.level,
     1567                                                        r->out.entries_read,
     1568                                                        r->out.buffer);
     1569        if (!W_ERROR_IS_OK(werr_tmp)) {
     1570                werr = werr_tmp;
     1571        }
    15661572 done:
    15671573        if (!cli) {
     
    28502856        *r->out.buffer = NULL;
    28512857        *r->out.entries_read = 0;
     2858        *r->out.total_entries = 0;
    28522859
    28532860        switch (r->in.level) {
     
    29442951        }
    29452952
    2946         if (r->out.entries_read) {
    2947                 *r->out.entries_read = entries_read;
    2948         }
    2949         if (r->out.total_entries) {
    2950                 *r->out.total_entries = entries_read;
    2951         }
     2953        *r->out.entries_read = entries_read;
     2954        *r->out.total_entries = entries_read;
    29522955
    29532956 done:
     
    32983301        *r->out.buffer = NULL;
    32993302        *r->out.entries_read = 0;
     3303        *r->out.total_entries = 0;
    33003304
    33013305        switch (r->in.level) {
     
    34593463        }
    34603464
    3461         if (r->out.entries_read) {
    3462                 *r->out.entries_read = entries_read;
    3463         }
    3464         if (r->out.total_entries) {
    3465                 *r->out.total_entries = entries_read;
    3466         }
     3465        *r->out.entries_read = entries_read;
     3466        *r->out.total_entries = entries_read;
    34673467
    34683468 done:
Note: See TracChangeset for help on using the changeset viewer.