@@ -55,10 +55,10 @@ typedef struct T_UA_TL_connection
struct T_SL_Channel* secureChannel;
} UA_TL_connection;
-struct UA_Session {
+typedef struct UA_Session_T {
UA_Int32 dummy;
UA_Application *application;
-}
+} UA_Session;
/* Secure Layer Channel */
typedef struct T_SL_Channel
@@ -23,7 +23,7 @@ UA_Int32 service_activatesession(UA_SL_Channel *channel, UA_ActivateSessionReque
UA_Int32 service_closesession(UA_SL_Channel *channel, UA_CloseSessionRequest *request, UA_CloseSessionResponse *response) {
- channel->application = UA_NULL;
+ channel->session = UA_NULL;
// FIXME: set response
return UA_SUCCESS;