author | wenzelm |
Sun, 12 May 2013 20:30:34 +0200 | |
changeset 51950 | 13fb5e4f2893 |
parent 51949 | f6858bb224c9 |
child 51951 | fab4ab92e812 |
--- a/src/Tools/WWW_Find/Start_WWW_Find.thy Sun May 12 20:25:45 2013 +0200 +++ b/src/Tools/WWW_Find/Start_WWW_Find.thy Sun May 12 20:30:34 2013 +0200 @@ -7,7 +7,7 @@ ML {* Options.default_put_bool "show_question_marks" false; YXML_Find_Theorems.init (); - val port = OS.Process.getEnv "SCGIPORT" |> the |> Int.fromString |> the; + val port = Markup.parse_int (getenv "SCGIPORT"); ScgiServer.server' 10 "/" port; *}