From b0ea1d691ab0adc7a24c47df862d8509614b85fd Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 23 Feb 2015 09:50:43 +0000 Subject: [PATCH] log fix, comment fix --- router/java/src/net/i2p/router/transport/UPnP.java | 2 +- .../java/src/net/i2p/router/tunnel/BuildMessageGenerator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/router/java/src/net/i2p/router/transport/UPnP.java b/router/java/src/net/i2p/router/transport/UPnP.java index ebbcc1b97c..6753c09fcc 100644 --- a/router/java/src/net/i2p/router/transport/UPnP.java +++ b/router/java/src/net/i2p/router/transport/UPnP.java @@ -870,7 +870,7 @@ class UPnP extends ControlPoint implements DeviceChangeListener, EventListener { Service service; synchronized(lock) { if(isDisabled || !isNATPresent()) { - _log.error("Can't addMapping: " + isDisabled + " " + isNATPresent() + " " + _router); + _log.error("Can't removeMapping: " + isDisabled + " " + isNATPresent() + " " + _router); return false; } service = _service; diff --git a/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java b/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java index c6ddbb1b03..57a6f02224 100644 --- a/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java +++ b/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java @@ -154,7 +154,7 @@ public abstract class BuildMessageGenerator { * Encrypt the records so their hop ident is visible at the appropriate times. * * Note that this layer-encrypts the build records for the message in-place. - * Only call this onece for a given message. + * Only call this once for a given message. * * @param order list of hop #s as Integers. For instance, if (order.get(1) is 4), it is peer cfg.getPeer(4) */ -- GitLab