/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/rdesktop.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/branches/seamlessrdp-branch/rdesktop/rdesktop.c

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

revision 10 by matty, Tue Aug 15 10:23:24 2000 UTC revision 12 by matty, Tue Aug 15 12:01:01 2000 UTC
# Line 21  Line 21 
21  #include <stdlib.h>     /* malloc realloc free */  #include <stdlib.h>     /* malloc realloc free */
22  #include <unistd.h>     /* read close getuid getgid getpid getppid gethostname */  #include <unistd.h>     /* read close getuid getgid getpid getppid gethostname */
23  #include <fcntl.h>      /* open */  #include <fcntl.h>      /* open */
 #include <getopt.h>     /* getopt */  
24  #include <pwd.h>        /* getpwuid */  #include <pwd.h>        /* getpwuid */
25  #include <sys/stat.h>   /* stat */  #include <sys/stat.h>   /* stat */
26  #include <sys/time.h>   /* gettimeofday */  #include <sys/time.h>   /* gettimeofday */
# Line 139  int main(int argc, char *argv[]) Line 138  int main(int argc, char *argv[])
138    
139          STATUS("Connection successful.\n");          STATUS("Connection successful.\n");
140    
141          snprintf(title, sizeof(title), "rdesktop - %s", server);          strcpy(title, "rdesktop - ");
142            strncat(title, server, sizeof(title));
143    
144          if (ui_create_window(title))          if (ui_create_window(title))
145          {          {
146                  rdp_main_loop();                  rdp_main_loop();

Legend:
Removed from v.10  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26