Bläddra i källkod

* apache example fixes before moving

git-svn-id: trunk@10058 -
marco 17 år sedan
förälder
incheckning
8cf136b8e8

+ 1 - 1
packages/base/httpd/examples/mod_example.pp

@@ -1321,7 +1321,7 @@ begin
   with x_cmds do
   begin
     name := 'Example';
-    func := @cmd_example;
+    func.func_no_args := @cmd_example;
     cmd_data := nil;
     req_override := OR_OPTIONS;
     args_how := NO_ARGS; // Or RAW_ARGS ?

+ 2 - 2
packages/base/httpd/examples/mod_spelling.pp

@@ -31,7 +31,7 @@ const
 *******************************************************************}
 {$ifdef WINDOWS}
 exports
-  speling_module name 'speling_module';
+  speling_module name 'spelling_module';
 {$endif}
 
 {#include "apr.h"
@@ -304,7 +304,7 @@ begin
   end;
 
   { Not a file request }
-  if (r^.proxyreq or not r^.filename) then
+  if (r^.proxyreq>0) or not assigned(r^.filename) then
   begin
     Result := DECLINED;
     Exit;