CVS: rdesktop tcp.c,1.35,1.36
Peter Ã
strand <[email protected]> Tue, 02 Jan 2007 22:41:15 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32484
Modified Files:
tcp.c
Log Message:
Indent fix
Index: tcp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/tcp.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** tcp.c 23 Dec 2006 03:23:59 -0000 1.35
--- tcp.c 3 Jan 2007 06:41:13 -0000 1.36
***************
*** 289,293 ****
option_value = 1024 * 16;
option_len = sizeof(option_value);
! setsockopt(g_sock, SOL_SOCKET, SO_RCVBUF, (void *) &option_value, option_len);
}
}
--- 289,294 ----
option_value = 1024 * 16;
option_len = sizeof(option_value);
! setsockopt(g_sock, SOL_SOCKET, SO_RCVBUF, (void *) &option_value,
! option_len);
}
}
***************
*** 321,325 ****
if (getsockname(g_sock, (struct sockaddr *) &sockaddr, &len) == 0)
{
! uint8 *ip = (uint8 *) &sockaddr.sin_addr;
sprintf(ipaddr, "%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]);
}
--- 322,326 ----
if (getsockname(g_sock, (struct sockaddr *) &sockaddr, &len) == 0)
{
! uint8 *ip = (uint8 *) & sockaddr.sin_addr;
sprintf(ipaddr, "%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV