changes: have a better way to keep the set of reading shared variables to verify...
[IRC.git] / Robust / src / Interface / HTTPServices.java
index 818777ff70b7e90285aa2de2a5775f4c587266cd..aa2acb5f1b8e041ca2442fcbd2accdcca5ed41ca 100644 (file)
@@ -37,9 +37,9 @@ public class HTTPServices {
 
     try {
       while((size = reader.read(buffer,0,buffer.length)) != -1)
-       out.write(buffer,0,size);
+        out.write(buffer,0,size);
       reader.close();
-    } catch(IOException e)  {
+    } catch(IOException e) {
       e.printStackTrace();
       resp.returnCode = 501;       // error during transmision
     }
@@ -57,7 +57,7 @@ public class HTTPServices {
     try {
       reader = get_reader(fileName, resp);
       resp.returnCode = 200;
-    } catch(IOException e)  {
+    } catch(IOException e) {
       resp.returnCode = 404;       // file not found
     }