Cleaning.
This commit is contained in:
parent
749f49dba5
commit
922b869a7f
1 changed files with 1 additions and 1 deletions
2
src/fr/devinsy/kiss4web/SimpleServletDispatcher.java
Executable file → Normal file
2
src/fr/devinsy/kiss4web/SimpleServletDispatcher.java
Executable file → Normal file
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue