Commit 812ecf93 authored by Andrey Myznikov's avatar Andrey Myznikov Committed by Robert Edmonds

Fix incorrect 'Short version of service name' generation for ProtobufCServiceDescriptor

parent cbe7b84a
......@@ -224,6 +224,8 @@ void ServiceGenerator::GenerateServiceDescriptor(io::Printer* printer)
}
printer->Print(vars_, "};\n");
vars_["name"] = descriptor_->name();
printer->Print(vars_, "const ProtobufCServiceDescriptor $lcfullname$__descriptor =\n"
"{\n"
" PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment