Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/08 14:48:49 (16 years ago)
Author:
kgrading
Message:

finished implementation for #425

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Communication/WcfService.cs

    r932 r944  
    5858
    5959    public void Connect(String serverIP, int serverPort) {
    60       if(!(this.ServerIP == serverIP) && !(this.ServerPort == ServerPort))
     60      if(this.ServerIP != serverIP || this.ServerPort != ServerPort)
    6161        ServerChanged(this, new EventArgs());
    6262      this.ServerIP = serverIP;
    63       this.ServerPort = serverPort;
     63      this.ServerPort = serverPort;     
    6464      Connect();
    6565    }
Note: See TracChangeset for help on using the changeset viewer.