From 5c5ba9f038442e47f5462e4676351adce026fbeb Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Thu, 28 Jul 2011 10:40:59 +0200 Subject: [PATCH] fix hello world example --- library/server/ewsgi/examples/hello_world/hello-safe.ecf | 1 + library/server/ewsgi/examples/hello_world/src/hello_world.e | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/library/server/ewsgi/examples/hello_world/hello-safe.ecf b/library/server/ewsgi/examples/hello_world/hello-safe.ecf index 753af7c2..227a433e 100644 --- a/library/server/ewsgi/examples/hello_world/hello-safe.ecf +++ b/library/server/ewsgi/examples/hello_world/hello-safe.ecf @@ -11,6 +11,7 @@ + diff --git a/library/server/ewsgi/examples/hello_world/src/hello_world.e b/library/server/ewsgi/examples/hello_world/src/hello_world.e index d8bd04f3..367731c4 100644 --- a/library/server/ewsgi/examples/hello_world/src/hello_world.e +++ b/library/server/ewsgi/examples/hello_world/src/hello_world.e @@ -15,7 +15,7 @@ feature {NONE} -- Initialization make do print ("Example: start a Nino web server on port " + port_number.out + ", %Nand reply Hello World for any request such as http://localhost:8123/%N") - (create {GW_NINO_APPLICATION}.make_custom (agent execute, "")).listen (port_number) + (create {NINO_APPLICATION}.make_custom (agent execute, "")).listen (port_number) end execute (req: EWSGI_REQUEST; res: EWSGI_RESPONSE_STREAM)