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 1cc2920..a9b6e21 100644
--- a/lib/erl/src/thrift_server.erl
+++ b/lib/erl/src/thrift_server.erl
@@ -168,4 +168,4 @@
{ok, Protocol, Protocol}
end,
- thrift_processor:start(ProtoGen, Service, Handler).
+ spawn(thrift_processor, init, [{Server, ProtoGen, Service, Handler}]).