Changeset 3ad1db8


Ignore:
Timestamp:
Jan 27, 2016 4:27:26 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f200d5c
Parents:
c6136b5
Message:

I2PTunnel: Fix exception message choice that was backwards
for router/non-router context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java

    rc6136b5 r3ad1db8  
    472472                String msg;
    473473                if (getTunnel().getContext().isRouterContext())
     474                    msg = "Unable to build tunnels for the client";
     475                else
    474476                    msg = "Unable to connect to the router at " + getTunnel().host + ':' + portNum +
    475477                             " and build tunnels for the client";
    476                 else
    477                     msg = "Unable to build tunnels for the client";
    478478                if (++retries < MAX_RETRIES) {
    479479                    if (log != null)
Note: See TracChangeset for help on using the changeset viewer.