Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing this out. - swerc - anselm's simpler werc fork
(HTM) git clone git://git.suckless.org/swerc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit a6b711bf9d6f3ca5d51a186da9e8ca772e3fcd0c
(DIR) parent c816cb0b2f79df015adbd6a4c4594eca4db2d08e
(HTM) Author: Uriel <u@berlinblue.org>
Date: Sun, 6 Jun 2010 18:06:21 +0000
Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing this out.
Diffstat:
M apps/hello/app.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/apps/hello/app.rc b/apps/hello/app.rc
@@ -1,6 +1,6 @@
fn hello_init {
if(~ $req_path /hello) {
- app_body_handler = 'hello_body'
+ handler_body_main='hello_body'
pageTitle='Hi title!'
}
}