From 9191e264f8bb6790675503415cbd2610e2113511 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 4 Mar 2016 14:35:45 -0800 Subject: [PATCH] GUAC-1389: Remove tracking of input pipe (there may be many). --- src/protocols/rdp/rdp_stream.c | 1 - src/protocols/rdp/rdp_svc.c | 1 - src/protocols/rdp/rdp_svc.h | 6 ------ 3 files changed, 8 deletions(-) diff --git a/src/protocols/rdp/rdp_stream.c b/src/protocols/rdp/rdp_stream.c index f829fbe7..a4106532 100644 --- a/src/protocols/rdp/rdp_stream.c +++ b/src/protocols/rdp/rdp_stream.c @@ -157,7 +157,6 @@ int guac_rdp_svc_pipe_handler(guac_user* user, guac_stream* stream, stream->blob_handler = guac_rdp_svc_blob_handler; rdp_stream->type = GUAC_RDP_INBOUND_SVC_STREAM; rdp_stream->svc = svc; - svc->input_pipe = stream; return 0; diff --git a/src/protocols/rdp/rdp_svc.c b/src/protocols/rdp/rdp_svc.c index ff9d93cf..5b88a473 100644 --- a/src/protocols/rdp/rdp_svc.c +++ b/src/protocols/rdp/rdp_svc.c @@ -45,7 +45,6 @@ guac_rdp_svc* guac_rdp_alloc_svc(guac_client* client, char* name) { /* Init SVC */ svc->client = client; svc->plugin = NULL; - svc->input_pipe = NULL; svc->output_pipe = NULL; /* Warn about name length */ diff --git a/src/protocols/rdp/rdp_svc.h b/src/protocols/rdp/rdp_svc.h index 87435219..09b0a303 100644 --- a/src/protocols/rdp/rdp_svc.h +++ b/src/protocols/rdp/rdp_svc.h @@ -55,12 +55,6 @@ typedef struct guac_rdp_svc { */ char name[GUAC_RDP_SVC_MAX_LENGTH+1]; - /** - * The pipe opened by the Guacamole client, if any. This should be - * opened in response to the output pipe. - */ - guac_stream* input_pipe; - /** * The output pipe, opened when the RDP server receives a connection to * the static channel.