From 922b869a7f16337824e30565e39b59e904b22cf5 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 12 Aug 2010 00:53:51 +0200 Subject: [PATCH] Cleaning. --- src/fr/devinsy/kiss4web/SimpleServletDispatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 src/fr/devinsy/kiss4web/SimpleServletDispatcher.java diff --git a/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java b/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java old mode 100755 new mode 100644 index b1a691b..7cadc04 --- a/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java +++ b/src/fr/devinsy/kiss4web/SimpleServletDispatcher.java @@ -251,7 +251,7 @@ public class SimpleServletDispatcher extends HttpServlet in = new FileInputStream(file); - while (in.read(buffer) >= 0) + while (in.read(buffer) != -1) { out.write(buffer); }