rail/server: rename rdpContext to rdpcontext
authorKobi Mizrachi <kmizrachi18@gmail.com>
Mon, 30 Dec 2019 08:08:26 +0000 (10:08 +0200)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 14 Jan 2020 06:58:47 +0000 (07:58 +0100)
Fixes a compilation error when mixing c++ and c code.

channels/rail/server/rail_main.c
include/freerdp/server/rail.h
server/proxy/pf_rail.c

index 2e4dad4..385b0dd 100644 (file)
@@ -1360,8 +1360,8 @@ static DWORD WINAPI rail_server_thread(LPVOID arg)
                }
        }
 
-       if (error && context->rdpContext)
-               setChannelError(context->rdpContext, error, "rail_server_thread reported an error");
+       if (error && context->rdpcontext)
+               setChannelError(context->rdpcontext, error, "rail_server_thread reported an error");
 
        ExitThread(error);
        return error;
index 77f030e..11e9695 100644 (file)
@@ -130,7 +130,7 @@ struct _rail_server_context
        psRailServerGetAppidRespEx ServerGetAppidRespEx;
 
        RailServerPrivate* priv;
-       rdpContext* rdpContext;
+       rdpContext* rdpcontext;
 };
 
 #ifdef __cplusplus
index 6aabe14..43cc192 100644 (file)
@@ -38,7 +38,7 @@ BOOL pf_rail_context_init(pServerContext* ps)
                return FALSE;
        }
 
-       rail->rdpContext = (rdpContext*)ps;
+       rail->rdpcontext = (rdpContext*)ps;
        return TRUE;
 }