CVS: rdesktop disk.c,1.56,1.57

Peter Åstrand <[email protected]> Wed, 05 Jul 2006 05:07:50 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14184

Modified Files:
	disk.c 
Log Message:
Indent fixes

Index: disk.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/disk.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** disk.c	2 Jul 2006 13:03:22 -0000	1.56
--- disk.c	5 Jul 2006 12:07:48 -0000	1.57
***************
*** 1017,1021 ****
  							(buf[42] << 24) + (buf[41] << 16) +
  							(buf[40] << 8) + buf[39];
! 						strncpy(info.label, (char*)buf + 43, 10);
  						info.label[10] = '\0';
  					}
--- 1017,1021 ----
  							(buf[42] << 24) + (buf[41] << 16) +
  							(buf[40] << 8) + buf[39];
! 						strncpy(info.label, (char *) buf + 43, 10);
  						info.label[10] = '\0';
  					}
***************
*** 1023,1027 ****
  					{
  						read(fd, buf, sizeof(buf));
! 						strncpy(info.label, (char*)buf + 41, 32);
  						info.label[32] = '\0';
  						/* info.Serial = (buf[128]<<24)+(buf[127]<<16)+(buf[126]<<8)+buf[125]; */
--- 1023,1027 ----
  					{
  						read(fd, buf, sizeof(buf));
! 						strncpy(info.label, (char *) buf + 41, 32);
  						info.label[32] = '\0';
  						/* info.Serial = (buf[128]<<24)+(buf[127]<<16)+(buf[126]<<8)+buf[125]; */


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642