Browse Source

+ Fix for ansistring conversion

michael 26 years ago
parent
commit
186749643c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/linux/ezcgi.inc

+ 1 - 1
fcl/linux/ezcgi.inc

@@ -10,7 +10,7 @@ begin
    // Linux version returns pchar.
    p:=linux.getenv(EnvVar);
    if P<>nil then
-     getenv:=ansistring(p)
+     getenv:=strpas(p)
    else
      getenv:='';
 end;