From ced024484333175eb138454309a9b6396f5a1f09 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 14 Oct 2010 11:06:26 -0400 Subject: Interface for setting memory limits --- src/cgi.sml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cgi.sml') diff --git a/src/cgi.sml b/src/cgi.sml index 9099d429..d8c7c3ec 100644 --- a/src/cgi.sml +++ b/src/cgi.sml @@ -36,7 +36,6 @@ val () = addProtocol {name = "cgi", linkDynamic = "-lurweb_cgi", persistent = false, code = fn () => box [string "void uw_global_custom() {", - newline, case getSigFile () of NONE => box [] | SOME sf => box [string "extern char *uw_sig_file;", @@ -45,6 +44,8 @@ val () = addProtocol {name = "cgi", string sf, string "\";", newline], + string "uw_setup_limits();", + newline, string "}", newline]} -- cgit v1.2.3