From: David Reiss Date: Wed, 11 Jun 2008 01:16:01 +0000 (+0000) Subject: Fix thrift_server to work with newest thrift_processor X-Git-Tag: 0.2.0~680 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=37dbfef4789f44d115188c7e6dd2843840ad23f8;p=common%2Fthrift.git Fix thrift_server to work with newest thrift_processor git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666483 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/erl/src/thrift_server.erl b/lib/erl/src/thrift_server.erl index 1cc29206..a9b6e217 100644 --- a/lib/erl/src/thrift_server.erl +++ b/lib/erl/src/thrift_server.erl @@ -168,4 +168,4 @@ start_processor(Socket, Service, Handler) -> {ok, Protocol, Protocol} end, - thrift_processor:start(ProtoGen, Service, Handler). + spawn(thrift_processor, init, [{Server, ProtoGen, Service, Handler}]).