Ignore:
Timestamp:
May 26, 2009, 9:44:50 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/smbd/msdfs.c

    r138 r228  
    896896                                char **ppdata,
    897897                                struct junction_map *junction,
    898                                 int consumedcnt,
    899898                                bool self_referral)
    900899{
     
    961960
    962961        /* create the header */
    963         SSVAL(pdata,0,consumedcnt * 2); /* path consumed */
     962        SSVAL(pdata,0,requestedpathlen - 2); /* UCS2 of path consumed minus
     963                                                2 byte null */
    964964        /* number of referral in this pkt */
    965965        SSVAL(pdata,2,junction->referral_count);
     
    10101010                                char **ppdata,
    10111011                                struct junction_map *junction,
    1012                                 int consumedcnt,
    10131012                                bool self_referral)
    10141013{
     
    10571056
    10581057        /* create the header */
    1059         SSVAL(pdata,0,consumedcnt * 2); /* path consumed */
     1058        SSVAL(pdata,0,reqpathlen - 2); /* UCS2 of path consumed minus
     1059                                          2 byte null */
    10601060        SSVAL(pdata,2,junction->referral_count); /* number of referral */
    10611061        if(self_referral) {
     
    11971197                reply_size = setup_ver2_dfs_referral(pathnamep,
    11981198                                        ppdata, junction,
    1199                                         consumedcnt, self_referral);
     1199                                        self_referral);
    12001200                break;
    12011201        case 3:
    12021202                reply_size = setup_ver3_dfs_referral(pathnamep, ppdata,
    1203                                         junction, consumedcnt, self_referral);
     1203                                        junction, self_referral);
    12041204                break;
    12051205        default:
Note: See TracChangeset for help on using the changeset viewer.