From dfb973b8b8ee4dc563c9561c175ba47ef2c685cb Mon Sep 17 00:00:00 2001 From: Fisher Date: Mon, 16 Jan 2012 12:06:41 +0800 Subject: [PATCH] Fix handle_call response --- priv/templates/simplesrv.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}.