*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 19 Jul 2005 04:05:26 +0000 (04:05 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 19 Jul 2005 04:05:26 +0000 (04:05 +0000)
tests/js-test/js/httpd/httpd.js

index 9938c7d..3d5fbf4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: httpd.js,v 1.67 2005/07/15 21:57:52 mmondor Exp $ */
+/* $Id: httpd.js,v 1.68 2005/07/19 04:05:26 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.67 2005/07/15 21:57:52 mmondor Exp $';
+SERVER_CVSID   = '$Id: httpd.js,v 1.68 2005/07/19 04:05:26 mmondor Exp $';
 
 
 
@@ -514,6 +514,8 @@ function process_transfer(time)
                                        close = true;
                                        try {
                                                this.transfer_dst.fdatasync();
+                                       } catch (x) {}
+                                       try {
                                                this.transfer_dst.close();
                                        } catch (x) {}
                                }
@@ -580,6 +582,8 @@ function process_transfer(time)
                        if (close) {
                                try {
                                        this.transfer_dst.fdatasync();
+                               } catch (x) {}
+                               try {
                                        this.transfer_dst.close();
                                } catch (x) {}
                        }