caudium-commits AT caudium.net
Caudium CVS Commits list

CVS: caudium/server/modules/vhs vhs_404.pike,1.1.2.1,1.1.2.2


chronological Thread 
  • From: Xavier Beaudouin <kiwi AT cvs.caudiumforge.net>
  • To: caudium-commits AT caudium.net
  • Subject: CVS: caudium/server/modules/vhs vhs_404.pike,1.1.2.1,1.1.2.2
  • Date: Sun, 27 Feb 2005 17:57:20 +0100

Update of /cvs/caudium/caudium/server/modules/vhs
In directory cvs.caudiumforge.net:/tmp/cvs-serv95813

Modified Files:
      Tag: stable_1_2
        vhs_404.pike 
Log Message:
Fixes


Index: vhs_404.pike
===================================================================
RCS file: /cvs/caudium/caudium/server/modules/vhs/Attic/vhs_404.pike,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- vhs_404.pike        27 Feb 2005 16:48:46 -0000      1.1.2.1
+++ vhs_404.pike        27 Feb 2005 16:57:18 -0000      1.1.2.2
@@ -19,7 +19,7 @@
  *
  */
 /*
- * $Id: vhs_404.pike,v 1.1.2.1 2005/02/27 16:48:46 kiwi Exp $
+ * $Id: vhs_404.pike,v 1.1.2.2 2005/02/27 16:57:18 kiwi Exp $
  */
 /*
  * Based on 404file.pike from Chris Davies
@@ -30,31 +30,31 @@
 inherit "module";
 inherit "caudiumlib";
 
-//#define DEBUG
+#define DEBUG
 
 #ifdef DEBUG
-# define DEBUGLOG(X) werror("REFER: "+X+"\n")
+# define DEBUGLOG(X) werror("VHS_404: "+X+"\n")
 #else
 # define DEBUGLOG(X)
 #endif
 
-//! module: VHS 404 file
+//! module: VHS - 404 file
 //!  VHS Error 404 file: simple MODULE_LAST that presents and parses a file
 //!  when no modules can handle the request.<br />Based on Chris Davies 
 //!  <a href="http://www.daviesinc.com/modules/";>module.</a>
 //! type: MODULE_LAST
 //! inherits: module
 //! inherits: caudiumlib
-//! cvs_version: $Id: vhs_404.pike,v 1.1.2.1 2005/02/27 16:48:46 kiwi Exp $
+//! cvs_version: $Id: vhs_404.pike,v 1.1.2.2 2005/02/27 16:57:18 kiwi Exp $
 
 constant module_type = MODULE_LAST;
-constant module_name = "VHS 404 File";
+constant module_name = "VHS - 404 File";
 constant module_doc  = "VHS Error 404 file: simple MODULE_LAST that presents 
"
                        "and parses a file when no modules can handle the 
request. "
                        "<br/>Based on Chris Davies <a href=\"" 
                        "http://www.daviesinc.com/modules/\";>module.</a>";
 constant module_unique = 1;
-constant cvs_version   = "$Id: vhs_404.pike,v 1.1.2.1 2005/02/27 16:48:46 
kiwi Exp $";
+constant cvs_version   = "$Id: vhs_404.pike,v 1.1.2.2 2005/02/27 16:57:18 
kiwi Exp $";
 constant thread_safe   = 1;
 
 void create() {
@@ -113,7 +113,7 @@
          }
        }
     }
-  } else return 0;
+  } 
   return s;
 }
 
@@ -122,7 +122,6 @@
   string|int html;
 
   html = readvfsfile(QUERY(error404document), id);
-
 
   if(intp(html)) return 0;             // We don't handle the 404file.
 



  • CVS: caudium/server/modules/vhs vhs_404.pike,1.1.2.1,1.1.2.2, Xavier Beaudouin

Archive powered by MhonArc 2.6.10.

§