From 37dbfef4789f44d115188c7e6dd2843840ad23f8 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 11 Jun 2008 01:16:01 +0000 Subject: [PATCH] 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 --- lib/erl/src/thrift_server.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}]). -- 2.17.1