Author: toad
Date: 2008-12-19 20:34:46 +0000 (Fri, 19 Dec 2008)
New Revision: 24647

Modified:
   branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
Log:
Clear metadata when fetching either metadata to replace our metadata, or 
content from an archive to complete the request.


Modified: branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java       
2008-12-19 20:08:34 UTC (rev 24646)
+++ branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java       
2008-12-19 20:34:46 UTC (rev 24647)
@@ -400,6 +400,7 @@
                                                }
                                        }, container, context); // will result 
in this function being called again
                                        if(persistent) container.store(this);
+                                       metadata = null;
                                        return;
                                }
                                continue;
@@ -492,6 +493,7 @@
                                                                
container.deactivate(SingleFileFetcher.this, 1);
                                                }
                                        }, container, context);
+                                       metadata = null;
                                        // Will call back into this function 
when it has been fetched.
                                        return;
                                }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to