Author: nextgens
Date: 2007-06-17 20:30:04 +0000 (Sun, 17 Jun 2007)
New Revision: 13638

Modified:
   trunk/freenet/src/freenet/pluginmanager/PluginManager.java
Log:
Fix a stupid bug preventing plugin loading using plugName# ... I'm not sure 
that the copy loop above works either

Modified: trunk/freenet/src/freenet/pluginmanager/PluginManager.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/PluginManager.java  2007-06-17 
20:08:49 UTC (rev 13637)
+++ trunk/freenet/src/freenet/pluginmanager/PluginManager.java  2007-06-17 
20:30:04 UTC (rev 13638)
@@ -373,7 +373,7 @@
                                fos = null;
                                if(!f.renameTo(finalFile))
                                        Logger.error(this, "Failed to rename 
"+f+" into "+finalFile);
-                               filename = "*@file://" + 
FileUtil.getCanonicalFile(f);
+                               filename = "*@file://" + 
FileUtil.getCanonicalFile(finalFile);
                                if(logMINOR) Logger.minor(this, "Rewritten to 
"+filename);
                        } catch (MalformedURLException mue) {
                                Logger.error(this, "MAlformedURLException has 
occured : "+ mue, mue);


Reply via email to