Changeset 490727b


Ignore:
Timestamp:
Apr 21, 2014 8:59:29 PM (7 years ago)
Author:
dg2-new <dg2-new@…>
Branches:
master
Children:
7bf3ea5
Parents:
49f4f33
Message:

fix i2ptunnel

Location:
apps/i2ptunnel/java/src/net/i2p/i2ptunnel
Files:
2 edited

Legend:

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

    r49f4f33 r490727b  
    14161416                //notifyEvent("genkeysResult", "error");
    14171417                return;
    1418             } finally {
    1419                 if(pubdest != null) try { pubdest.close(); } catch(IOException ioe) {}
    14201418            }
    14211419        } else if (args.length != 1) {
     
    14391437            //notifyEvent("genkeysResult", "error");
    14401438            //_log.error(getPrefix() + "Error generating keys", ioe);
     1439        } finally {
     1440            if(pubdest != null) try { pubdest.close(); } catch(IOException ioe) {}
    14411441        }
    14421442    }
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/socks/SOCKS5Server.java

    r49f4f33 r490727b  
    576576            // throw away the address in the response
    577577            // todo pass the response through?
    578             out.close();
    579             in.close();
    580578        } catch (IOException e) {
    581579            try { destSock.close(); } catch (IOException ioe) {}
Note: See TracChangeset for help on using the changeset viewer.