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

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

revision 650 by astrand, Thu Apr 15 20:11:19 2004 UTC revision 651 by astrand, Thu Apr 15 20:12:42 2004 UTC
# Line 34  uint32 g_num_devices; Line 34  uint32 g_num_devices;
34    
35  /* Table with information about rdpdr devices */  /* Table with information about rdpdr devices */
36  RDPDR_DEVICE g_rdpdr_device[RDPDR_MAX_DEVICES];  RDPDR_DEVICE g_rdpdr_device[RDPDR_MAX_DEVICES];
37  char * g_rdpdr_clientname = NULL;  char *g_rdpdr_clientname = NULL;
38    
39  /* Used to store incoming io request, until they are ready to be completed */  /* Used to store incoming io request, until they are ready to be completed */
40  /* using a linked list ensures that they are processed in the right order, */  /* using a linked list ensures that they are processed in the right order, */
# Line 167  rdpdr_send_name(void) Line 167  rdpdr_send_name(void)
167          STREAM s;          STREAM s;
168          uint32 hostlen;          uint32 hostlen;
169    
170          if (NULL == g_rdpdr_clientname) {          if (NULL == g_rdpdr_clientname)
171            g_rdpdr_clientname = hostname;          {
172                    g_rdpdr_clientname = hostname;
173          }          }
174          hostlen = (strlen(g_rdpdr_clientname) + 1) * 2;          hostlen = (strlen(g_rdpdr_clientname) + 1) * 2;
175    

Legend:
Removed from v.650  
changed lines
  Added in v.651

  ViewVC Help
Powered by ViewVC 1.1.26