Changeset 228 for branches/samba-3.2.x/source/smbd/msdfs.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/smbd/msdfs.c
r138 r228 896 896 char **ppdata, 897 897 struct junction_map *junction, 898 int consumedcnt,899 898 bool self_referral) 900 899 { … … 961 960 962 961 /* 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 */ 964 964 /* number of referral in this pkt */ 965 965 SSVAL(pdata,2,junction->referral_count); … … 1010 1010 char **ppdata, 1011 1011 struct junction_map *junction, 1012 int consumedcnt,1013 1012 bool self_referral) 1014 1013 { … … 1057 1056 1058 1057 /* 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 */ 1060 1060 SSVAL(pdata,2,junction->referral_count); /* number of referral */ 1061 1061 if(self_referral) { … … 1197 1197 reply_size = setup_ver2_dfs_referral(pathnamep, 1198 1198 ppdata, junction, 1199 consumedcnt,self_referral);1199 self_referral); 1200 1200 break; 1201 1201 case 3: 1202 1202 reply_size = setup_ver3_dfs_referral(pathnamep, ppdata, 1203 junction, consumedcnt,self_referral);1203 junction, self_referral); 1204 1204 break; 1205 1205 default:
Note:
See TracChangeset
for help on using the changeset viewer.