$NetBSD: patch-ao,v 1.1 2006/08/14 22:43:54 thomasklausner Exp $

--- session.c.orig	2003-07-08 16:40:20.000000000 +0000
+++ session.c
@@ -715,7 +715,7 @@ unsigned char *pre_format_html_hook(stru
 {
 	lua_State *L = lua_state;
 	unsigned char *s = NULL;
-	int err;
+	int err = 0;
 
 	lua_getglobal(L, "pre_format_html_hook");
 	if (lua_isnil(L, -1)) {
@@ -727,7 +727,7 @@ unsigned char *pre_format_html_hook(stru
 	lua_pushlstring(L, html, *len);
 
 	if (prepare_lua(ses)) return NULL;
-	err = lua_call(L, 2, 1);
+	lua_call(L, 2, 1);
 	finish_lua();
         if (err) return NULL;
 
