Pārlūkot izejas kodu

bugfix in get_endpoints

Stasik0 10 gadi atpakaļ
vecāks
revīzija
cb2b22db36
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      src/server/ua_services_discovery.c

+ 0 - 1
src/server/ua_services_discovery.c

@@ -5,7 +5,6 @@
 void Service_GetEndpoints(UA_Server                    *server,
                           const UA_GetEndpointsRequest *request,
                           UA_GetEndpointsResponse      *response) {
-    UA_GetEndpointsResponse_init(response);
     response->endpoints = UA_malloc(sizeof(UA_EndpointDescription));
     if(!response->endpoints) {
         response->responseHeader.serviceResult = UA_STATUSCODE_BADOUTOFMEMORY;