Commit 981310aa authored by zhujiashun's avatar zhujiashun

Fix bug in inserting RestfulMap service

parent 4ceba2fe
...@@ -1351,7 +1351,7 @@ int Server::AddServiceInternal(google::protobuf::Service* service, ...@@ -1351,7 +1351,7 @@ int Server::AddServiceInternal(google::protobuf::Service* service,
} }
if (sp == NULL) { if (sp == NULL) {
ServiceProperty ss = ServiceProperty ss =
{ false, SERVER_DOESNT_OWN_SERVICE, NULL, m }; { is_builtin_service, SERVER_DOESNT_OWN_SERVICE, NULL, m };
_fullname_service_map[svc_name] = ss; _fullname_service_map[svc_name] = ss;
_service_map[svc_name] = ss; _service_map[svc_name] = ss;
++_virtual_service_count; ++_virtual_service_count;
......
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