CVS: rdesktop rdesktop.c,1.114,1.115 rdp.c,1.71,1.72 rdp5.c,1.13,1.14 serial.c,1.19,1.20

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8571

Modified Files:
	rdesktop.c rdp.c rdp5.c serial.c 
Log Message:
Indent fixes

Index: rdesktop.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdesktop.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** rdesktop.c	11 Sep 2004 22:57:42 -0000	1.114
--- rdesktop.c	7 Oct 2004 13:00:28 -0000	1.115
***************
*** 853,857 ****
  xrealloc(void *oldmem, int size)
  {
! 	void * mem;
  
  	if (size < 1)
--- 853,857 ----
  xrealloc(void *oldmem, int size)
  {
! 	void *mem;
  
  	if (size < 1)

Index: rdp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdp.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** rdp.c	4 Oct 2004 03:21:58 -0000	1.71
--- rdp.c	7 Oct 2004 13:00:28 -0000	1.72
***************
*** 1093,1097 ****
  	{
  		if (len > RDP_MPPC_DICT_SIZE)
! 		  error("error decompressed packet size exceeds max\n");
  		if (mppc_expand(s->p, clen, ctype, &roff, &rlen) == -1)
  			error("error while decompressing packet\n");
--- 1093,1097 ----
  	{
  		if (len > RDP_MPPC_DICT_SIZE)
! 			error("error decompressed packet size exceeds max\n");
  		if (mppc_expand(s->p, clen, ctype, &roff, &rlen) == -1)
  			error("error while decompressing packet\n");

Index: rdp5.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdp5.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** rdp5.c	11 Sep 2004 22:57:42 -0000	1.13
--- rdp5.c	7 Oct 2004 13:00:28 -0000	1.14
***************
*** 62,66 ****
  		{
  			if (length > RDP_MPPC_DICT_SIZE)
! 			  error("error decompressed packet size exceeds max\n");
  			if (mppc_expand(s->p, length, ctype, &roff, &rlen) == -1)
  				error("error while decompressing packet\n");
--- 62,66 ----
  		{
  			if (length > RDP_MPPC_DICT_SIZE)
! 				error("error decompressed packet size exceeds max\n");
  			if (mppc_expand(s->p, length, ctype, &roff, &rlen) == -1)
  				error("error while decompressing packet\n");

Index: serial.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/serial.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** serial.c	2 Oct 2004 01:30:32 -0000	1.19
--- serial.c	7 Oct 2004 13:00:28 -0000	1.20
***************
*** 446,453 ****
  	tcsetattr(serial_fd, TCSANOW, ptermios);
  */
! 	pser_inf->ptermios->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
  	pser_inf->ptermios->c_oflag &= ~OPOST;
! 	pser_inf->ptermios->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
! 	pser_inf->ptermios->c_cflag &= ~(CSIZE|PARENB);
  	pser_inf->ptermios->c_cflag |= CS8;
  	tcsetattr(serial_fd, TCSANOW, pser_inf->ptermios);
--- 446,454 ----
  	tcsetattr(serial_fd, TCSANOW, ptermios);
  */
! 	pser_inf->ptermios->c_iflag &=
! 		~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
  	pser_inf->ptermios->c_oflag &= ~OPOST;
! 	pser_inf->ptermios->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
! 	pser_inf->ptermios->c_cflag &= ~(CSIZE | PARENB);
  	pser_inf->ptermios->c_cflag |= CS8;
  	tcsetattr(serial_fd, TCSANOW, pser_inf->ptermios);



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.