/[rdesktop]/sourceforge.net/trunk/rdesktop/serial.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/serial.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 569 by n-ki, Wed Jan 21 14:40:40 2004 UTC revision 570 by stargo, Wed Jan 21 18:02:38 2004 UTC
# Line 1  Line 1 
1  #include <unistd.h>  #include <unistd.h>
2  #include <fcntl.h>  #include <fcntl.h>
3  #include <termios.h>  #include <termios.h>
4    #include <strings.h>
5  #include "rdesktop.h"  #include "rdesktop.h"
6    
7  #define FILE_DEVICE_SERIAL_PORT         0x1b  #define FILE_DEVICE_SERIAL_PORT         0x1b
# Line 286  serial_enum_devices(int *id, char* optar Line 287  serial_enum_devices(int *id, char* optar
287                                          /* optarg = com1, pos2 = /dev/ttyS0 */                                          /* optarg = com1, pos2 = /dev/ttyS0 */
288                                          strcpy(g_rdpdr_device[*id].name,optarg);                                          strcpy(g_rdpdr_device[*id].name,optarg);
289    
290                                          toupper(g_rdpdr_device[*id].name);                                          toupper_str(g_rdpdr_device[*id].name);
291    
292                                          g_rdpdr_device[*id].local_path = xmalloc( strlen(pos2) + 1 );                                          g_rdpdr_device[*id].local_path = xmalloc( strlen(pos2) + 1 );
293                                          strcpy(g_rdpdr_device[*id].local_path,pos2);                                          strcpy(g_rdpdr_device[*id].local_path,pos2);

Legend:
Removed from v.569  
changed lines
  Added in v.570

  ViewVC Help
Powered by ViewVC 1.1.26