From: Jeffrey Altman Date: Wed, 13 Feb 2013 18:12:34 +0000 (-0500) Subject: Windows: CellLength reported in octets X-Git-Tag: upstream/1.8.0_pre1^2~1547 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6373d01ca010aa687e6aa0c218d1379e57e60888;p=packages%2Fo%2Fopenafs.git Windows: CellLength reported in octets CellLength must be converted from WCHARs to BYTEs in the response to the redirector. Change-Id: I79656cc0533c6cdc31a977aa486755c4a506510f Reviewed-on: http://gerrit.openafs.org/9105 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/user/RDRFunction.c b/src/WINNT/afsrdr/user/RDRFunction.c index ffa2db8b0..a32cac3f7 100644 --- a/src/WINNT/afsrdr/user/RDRFunction.c +++ b/src/WINNT/afsrdr/user/RDRFunction.c @@ -5590,6 +5590,7 @@ RDR_GetVolumeInfo( IN cm_user_t *userp, } } pResultCB->VolumeLabelLength *= sizeof(WCHAR); /* convert to bytes from chars */ + pResultCB->CellLength *= sizeof(WCHAR); /* convert to bytes from chars */ _done: if (scp_locked)