/[rdesktop]/sourceforge.net/trunk/rdesktop/parallel.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/parallel.c

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

revision 832 by stargo, Tue Mar 8 01:01:47 2005 UTC revision 865 by stargo, Tue Mar 15 11:25:50 2005 UTC
# Line 32  parallel_enum_devices(uint32 * id, char Line 32  parallel_enum_devices(uint32 * id, char
32          char *pos2;          char *pos2;
33          int count = 0;          int count = 0;
34    
35          // skip the first colon          /* skip the first colon */
36          optarg++;          optarg++;
37          while ((pos = next_arg(optarg, ',')) && *id < RDPDR_MAX_DEVICES)          while ((pos = next_arg(optarg, ',')) && *id < RDPDR_MAX_DEVICES)
38          {          {
# Line 47  parallel_enum_devices(uint32 * id, char Line 47  parallel_enum_devices(uint32 * id, char
47                  strcpy(g_rdpdr_device[*id].local_path, pos2);                  strcpy(g_rdpdr_device[*id].local_path, pos2);
48                  printf("PARALLEL %s to %s\n", optarg, pos2);                  printf("PARALLEL %s to %s\n", optarg, pos2);
49    
50                  // set device type                  /* set device type */
51                  g_rdpdr_device[*id].device_type = DEVICE_TYPE_PARALLEL;                  g_rdpdr_device[*id].device_type = DEVICE_TYPE_PARALLEL;
52                  g_rdpdr_device[*id].pdevice_data = (void *) ppar_info;                  g_rdpdr_device[*id].pdevice_data = (void *) ppar_info;
53                  g_rdpdr_device[*id].handle = 0;                  g_rdpdr_device[*id].handle = 0;

Legend:
Removed from v.832  
changed lines
  Added in v.865

  ViewVC Help
Powered by ViewVC 1.1.26