Author: nextgens
Date: 2007-09-14 14:03:08 +0000 (Fri, 14 Sep 2007)
New Revision: 15156

Modified:
   trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
Log:
doh... We don't want to fail if the first attempt isn't successful

Modified: trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PproxyToadlet.java   2007-09-14 
12:24:13 UTC (rev 15155)
+++ trunk/freenet/src/freenet/clients/http/PproxyToadlet.java   2007-09-14 
14:03:08 UTC (rev 15156)
@@ -189,13 +189,13 @@
                                                        } catch (IOException 
ioe) {
                                                        }
                                                }
-                                               if (filename == null)
-                                                       return;
-                                               else if(!downloaded) {
-                                                       Logger.error(this, 
"Can't load the given plugin; giving up");
-                                                       return;
-                                               }
                                        }
+                                       if (filename == null)
+                                               return;
+                                       else if(!downloaded) {
+                                               Logger.error(this, "Can't load 
the given plugin; giving up");
+                                               return;
+                                       }
                                }

                                pm.startPlugin(filename, true);


Reply via email to