From 351a1a8d278053c1642ee92b2ce7b536e5c69b1b Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Sat, 4 Apr 2015 16:59:21 +0000
Subject: [PATCH] i2ptunnel: Fix NoSuchElementException processing proxyList
 caused by 03-31 checkin

---
 .../java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java
index ae2cf1fbd1..726e7358e3 100644
--- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java
+++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java
@@ -221,7 +221,7 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
                 while (tok.hasMoreTokens()) {
                     String p = tok.nextToken().trim();
                     if (p.length() > 0)
-                        _proxyList.add(tok.nextToken().trim());
+                        _proxyList.add(p);
                 }
             }
         } else {
-- 
GitLab