diff --git a/libfreerdp/core/client.c b/libfreerdp/core/client.c index 1c929f557..b10d064fb 100644 --- a/libfreerdp/core/client.c +++ b/libfreerdp/core/client.c @@ -259,7 +259,7 @@ UINT freerdp_channels_attach(freerdp* instance) for (index = 0; index < channels->clientDataCount; index++) { - ChannelConnectedEventArgs e; + ChannelAttachedEventArgs e; CHANNEL_OPEN_DATA* pChannelOpenData = NULL; pChannelClientData = &channels->clientDataList[index]; @@ -317,7 +317,7 @@ UINT freerdp_channels_detach(freerdp* instance) for (index = 0; index < channels->clientDataCount; index++) { - ChannelConnectedEventArgs e; + ChannelDetachedEventArgs e; CHANNEL_OPEN_DATA* pChannelOpenData; pChannelClientData = &channels->clientDataList[index];