Changeset 611


Ignore:
Timestamp:
01/15/10 23:31:04 (2 years ago)
Author:
octorian
Message:

Fix for a few goofs

Location:
trunk/LogicMail/src/org/logicprobe/LogicMail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/conf/GlobalConfig.java

    r608 r611  
    385385            } 
    386386        } 
    387         value = table.get("account_transportType"); 
     387        value = table.get("global_transportType"); 
    388388        if(value instanceof Integer) { 
    389389            transportType = ((Integer)value).intValue(); 
    390390        } 
    391         value = table.get("account_enableWiFi"); 
     391        value = table.get("global_enableWiFi"); 
    392392        if(value instanceof Boolean) { 
    393393            enableWiFi = ((Boolean)value).booleanValue(); 
  • trunk/LogicMail/src/org/logicprobe/LogicMail/util/ConnectionBB42.java

    r610 r611  
    5252    protected boolean coverageTCP=false, coverageMDS=false, coverageWAP2=false, coverageWiFi=false; 
    5353 
    54     private int transportSelection = TRANSPORT_AUTO; 
    55      
    5654    /** 
    5755     * Initializes a new connection object. 
     
    7573         
    7674        StreamConnection connection = null; 
    77         if((transportSelection & TRANSPORT_WIFI) != 0 && srWiFi != null && coverageWiFi) { 
     75        if((transports & TRANSPORT_WIFI) != 0 && srWiFi != null && coverageWiFi) { 
    7876            connection = attemptWiFi(urlBase); 
    7977        } 
    80         if(connection == null && (transportSelection & TRANSPORT_DIRECT_TCP) != 0 && coverageTCP) { 
     78        if(connection == null && (transports & TRANSPORT_DIRECT_TCP) != 0 && coverageTCP) { 
    8179            connection = attemptDirectTCP(urlBase); 
    8280        } 
    83         if(connection == null && (transportSelection & TRANSPORT_MDS) != 0 && srMDS != null && coverageMDS) { 
     81        if(connection == null && (transports & TRANSPORT_MDS) != 0 && srMDS != null && coverageMDS) { 
    8482            connection = attemptMDS(urlBase); 
    8583        } 
    86         if(connection == null && (transportSelection & TRANSPORT_WAP2) != 0 && srWAP2 != null && coverageWAP2) { 
     84        if(connection == null && (transports & TRANSPORT_WAP2) != 0 && srWAP2 != null && coverageWAP2) { 
    8785            connection = attemptWAP2(urlBase); 
    8886        } 
Note: See TracChangeset for help on using the changeset viewer.