[thrift] fix _thrift for inheriting services
authorChristopher Piro <cpiro@apache.org>
Tue, 18 Sep 2007 02:14:31 +0000 (02:14 +0000)
committerChristopher Piro <cpiro@apache.org>
Tue, 18 Sep 2007 02:14:31 +0000 (02:14 +0000)
Summary: obviously Iain's fault

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665272 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/generate/t_erl_generator.cc

index 8f020bf..9c093d7 100644 (file)
@@ -890,7 +890,7 @@ void t_erl_generator::generate_service_server(t_service* tservice) {
 
   indent(f_service_) << "  _ -> % unknown function" << endl;
   if (tservice->get_extends() != NULL) {
-    indent(f_service_) << "    " << extends << ":proc(Name,_Type,Seqid,HandlerModule, Iprot, Oprot)" << endl;
+    indent(f_service_) << "    " << extends << "_thrift:proc(Name,_Type,Seqid,HandlerModule, Iprot, Oprot)" << endl;
   } else {
     f_service_ <<
       indent() << "    ?R1(Iprot, skip, ?tType_STRUCT)," << endl <<