Explorar o código

Merge pull request #858 from TorbenD/fixLOG

fix LOG problem
Julius Pfrommer %!s(int64=8) %!d(string=hai) anos
pai
achega
da0d5c40dc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/server/ua_server_binary.c

+ 2 - 2
src/server/ua_server_binary.c

@@ -514,12 +514,12 @@ UA_Server_processSecureChannelMessage(UA_Server *server, UA_SecureChannel *chann
         break;
     case UA_MESSAGETYPE_MSG:
         UA_LOG_TRACE_CHANNEL(server->config.logger, channel,
-                             "Process a MSG", connection->sockfd);
+                             "Process a MSG", channel->connection->sockfd);
         processMSG(server, channel, requestId, message);
         break;
     case UA_MESSAGETYPE_CLO:
         UA_LOG_TRACE_CHANNEL(server->config.logger, channel,
-                             "Process a CLO", connection->sockfd);
+                             "Process a CLO", channel->connection->sockfd);
         Service_CloseSecureChannel(server, channel);
         break;
     default: