summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFisher <fisher@yun.io>2012-01-16 12:06:41 +0800
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-02-02 10:35:13 +0100
commitdfb973b8b8ee4dc563c9561c175ba47ef2c685cb (patch)
tree5921e3867e53128086063d1006b429bdc06eb56d
parentb6f3a766946ffae9397b6afcb5a34c36a123b050 (diff)
Fix handle_call response
-rw-r--r--priv/templates/simplesrv.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/simplesrv.erl b/priv/templates/simplesrv.erl
index a4ab77a..af6ca50 100644
--- a/priv/templates/simplesrv.erl
+++ b/priv/templates/simplesrv.erl
@@ -30,7 +30,7 @@ init(Args) ->
{ok, Args}.
handle_call(_Request, _From, State) ->
- {noreply, ok, State}.
+ {reply, ok, State}.
handle_cast(_Msg, State) ->
{noreply, State}.