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:
Peter Åstrand 2006-07-05 12:07:48 +00:00
parent 40d0ed7c2d
commit c2d3430c02

4
disk.c
View File

@ -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]; */
} }