Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@781 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
1740bf0b37
commit
c139c48d97
@ -852,7 +852,7 @@ xmalloc(int size)
|
||||
void *
|
||||
xrealloc(void *oldmem, int size)
|
||||
{
|
||||
void * mem;
|
||||
void *mem;
|
||||
|
||||
if (size < 1)
|
||||
size = 1;
|
||||
|
7
serial.c
7
serial.c
@ -445,10 +445,11 @@ serial_create(uint32 device_id, uint32 access, uint32 share_mode, uint32 disposi
|
||||
|
||||
tcsetattr(serial_fd, TCSANOW, ptermios);
|
||||
*/
|
||||
pser_inf->ptermios->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
|
||||
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_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);
|
||||
|
||||
|
11
vnc/vnc.c
11
vnc/vnc.c
@ -262,7 +262,7 @@ rdp2vnc_connect(char *server, uint32 flags, char *domain, char *password,
|
||||
BOOL deactivated;
|
||||
uint32_t ext_disc_reason;
|
||||
printf("Connection successful.\n");
|
||||
rdp_main_loop(&deactivated,&ext_disc_reason);
|
||||
rdp_main_loop(&deactivated, &ext_disc_reason);
|
||||
printf("Disconnecting...\n");
|
||||
rdp_disconnect();
|
||||
ui_destroy_window();
|
||||
@ -1366,12 +1366,11 @@ ui_resize_window()
|
||||
server->frameBuffer = (char *) realloc(server->frameBuffer, g_width * g_height);
|
||||
server->paddedWidthInBytes = g_width;
|
||||
|
||||
iter=rfbGetClientIterator(server);
|
||||
while((cl=rfbClientIteratorNext(iter)))
|
||||
if(cl->useNewFBSize)
|
||||
iter = rfbGetClientIterator(server);
|
||||
while ((cl = rfbClientIteratorNext(iter)))
|
||||
if (cl->useNewFBSize)
|
||||
cl->newFBSizePending = TRUE;
|
||||
else
|
||||
rfbLog("Warning: Client %s does not support NewFBSize!\n ",cl->host);
|
||||
rfbLog("Warning: Client %s does not support NewFBSize!\n ", cl->host);
|
||||
rfbReleaseClientIterator(iter);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user