Fix thrift_server to work with newest thrift_processor
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:16:01 +0000 (01:16 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:16:01 +0000 (01:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666483 13f79535-47bb-0310-9956-ffa450edef68

lib/erl/src/thrift_server.erl

index 1cc2920..a9b6e21 100644 (file)
@@ -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}]).