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

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

revision 424 by forsberg, Thu Jun 19 07:29:53 2003 UTC revision 432 by matthewc, Tue Jul 1 09:31:25 2003 UTC
# Line 865  rdp_main_loop(void) Line 865  rdp_main_loop(void)
865    
866                          case RDP_PDU_DEACTIVATE:                          case RDP_PDU_DEACTIVATE:
867                                  DEBUG(("RDP_PDU_DEACTIVATE\n"));                                  DEBUG(("RDP_PDU_DEACTIVATE\n"));
868                                  return True;                                  /* We thought we could detect a clean
869                                       shutdown of the session by this
870                                       packet, but it seems Windows 2003
871                                       is sending us one of these when we
872                                       reconnect to a disconnected session
873                                       return True; */
874                                  break;                                  break;
875    
876                          case RDP_PDU_DATA:                          case RDP_PDU_DATA:
# Line 879  rdp_main_loop(void) Line 884  rdp_main_loop(void)
884                                  unimpl("PDU %d\n", type);                                  unimpl("PDU %d\n", type);
885                  }                  }
886          }          }
887          return False;          return True;
888            /* We want to detect if we got a clean shutdown, but we
889            can't. Se above.  
890            return False;  */
891  }  }
892    
893  /* Establish a connection up to the RDP layer */  /* Establish a connection up to the RDP layer */
# Line 887  BOOL Line 895  BOOL
895  rdp_connect(char *server, uint32 flags, char *domain, char *password,  rdp_connect(char *server, uint32 flags, char *domain, char *password,
896              char *command, char *directory)              char *command, char *directory)
897  {  {
         if (use_rdp5)  
                 channels_init();  
   
898          if (!sec_connect(server, username))          if (!sec_connect(server, username))
899                  return False;                  return False;
900    

Legend:
Removed from v.424  
changed lines
  Added in v.432

  ViewVC Help
Powered by ViewVC 1.1.26