*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 14 Jul 2005 16:05:37 +0000 (16:05 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 14 Jul 2005 16:05:37 +0000 (16:05 +0000)
tests/js-test/js/httpd/httpd.js

index 33fb3dd..6683117 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: httpd.js,v 1.62 2005/07/14 13:00:41 mmondor Exp $ */
+/* $Id: httpd.js,v 1.63 2005/07/14 16:05:37 mmondor Exp $ */
 
 /*
  * Copyright (c) 2005, Matthew Mondor
@@ -59,7 +59,7 @@
  * Server identification
  */
 SERVER_VERSION                 = 'mmondor_js_httpd/0.0.1 (NetBSD)';
-SERVER_CVSID   = '$Id: httpd.js,v 1.62 2005/07/14 13:00:41 mmondor Exp $';
+SERVER_CVSID   = '$Id: httpd.js,v 1.63 2005/07/14 16:05:37 mmondor Exp $';
 
 
 
@@ -101,8 +101,7 @@ function file_read(file)
        } catch (x) {
                err.put(x + " at file_read()\n");
        }
-       if (typeof file != 'object')
-               fd.close();
+       fd.close();
 
        return contents;
 }