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

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

revision 628 by n-ki, Thu Mar 4 12:43:10 2004 UTC revision 629 by n-ki, Thu Mar 4 13:23:23 2004 UTC
# Line 415  main(int argc, char *argv[]) Line 415  main(int argc, char *argv[])
415    
416                                  if (strncmp("sound", optarg, 5) == 0)                                  if (strncmp("sound", optarg, 5) == 0)
417                                  {                                  {
418                                          if (*(optarg + 6) == ':')                                          optarg += 5;
                                         {  
419    
420                                                  if (strncmp("remote", optarg + 7, 6) == 0)                                          if (*optarg == ':')
421                                                          flags |= RDP_LOGON_LEAVE_AUDIO;                                          {
422                                                  else if (strncmp("on", optarg + 7, 2) == 0)                                                  *optarg++;
423                                                    while ((p = next_arg(optarg, ',')))
424                                                  {                                                  {
425                                                            if (strncmp("remote", optarg, 6) == 0)
426                                                                    flags |= RDP_LOGON_LEAVE_AUDIO;
427    
428                                                            if (strncmp("on", optarg, 2) == 0)
429  #ifdef WITH_RDPSND  #ifdef WITH_RDPSND
430                                                          g_rdpsnd = True;                                                                  g_rdpsnd = True;
431  #else  #else
432                                                          warning("Not compiled with sound support");                                                                  warning("Not compiled with sound support");
433  #endif  #endif
434    
435                                                            if (strncmp("off", optarg, 3) == 0)
436                                                                    g_rdpsnd = False;
437    
438                                                            optarg = p;
439                                                  }                                                  }
440                                          }                                          }
441                                          else                                          else

Legend:
Removed from v.628  
changed lines
  Added in v.629

  ViewVC Help
Powered by ViewVC 1.1.26