Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1241 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
40d0ed7c2d
commit
c2d3430c02
4
disk.c
4
disk.c
@ -1016,13 +1016,13 @@ FsVolumeInfo(char *fpath)
|
|||||||
info.serial =
|
info.serial =
|
||||||
(buf[42] << 24) + (buf[41] << 16) +
|
(buf[42] << 24) + (buf[41] << 16) +
|
||||||
(buf[40] << 8) + buf[39];
|
(buf[40] << 8) + buf[39];
|
||||||
strncpy(info.label, (char*)buf + 43, 10);
|
strncpy(info.label, (char *) buf + 43, 10);
|
||||||
info.label[10] = '\0';
|
info.label[10] = '\0';
|
||||||
}
|
}
|
||||||
else if (lseek(fd, 32767, SEEK_SET) >= 0) /* ISO9660 */
|
else if (lseek(fd, 32767, SEEK_SET) >= 0) /* ISO9660 */
|
||||||
{
|
{
|
||||||
read(fd, buf, sizeof(buf));
|
read(fd, buf, sizeof(buf));
|
||||||
strncpy(info.label, (char*)buf + 41, 32);
|
strncpy(info.label, (char *) buf + 41, 32);
|
||||||
info.label[32] = '\0';
|
info.label[32] = '\0';
|
||||||
/* info.Serial = (buf[128]<<24)+(buf[127]<<16)+(buf[126]<<8)+buf[125]; */
|
/* info.Serial = (buf[128]<<24)+(buf[127]<<16)+(buf[126]<<8)+buf[125]; */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user