Author: nextgens
Date: 2007-04-14 17:59:34 +0000 (Sat, 14 Apr 2007)
New Revision: 12705

Modified:
   trunk/freenet/src/freenet/node/fcp/ClientPut.java
Log:
Fix one bug: it's still broken

Modified: trunk/freenet/src/freenet/node/fcp/ClientPut.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ClientPut.java   2007-04-14 17:33:56 UTC 
(rev 12704)
+++ trunk/freenet/src/freenet/node/fcp/ClientPut.java   2007-04-14 17:59:34 UTC 
(rev 12705)
@@ -503,8 +503,8 @@
                byte[] foundHash = new byte[SHA256.getDigestLength()];

                try {
-                       BufferedInputStream bis = new 
BufferedInputStream(data.getInputStream());
-                       bis.read(foundHash);
+                       BufferedInputStream bis = new 
BufferedInputStream(content.getInputStream());
+                       bis.read(foundHash); 
                        bis.close();

                        md.reset();


Reply via email to