diff options
Diffstat (limited to 'server/reds.c')
-rw-r--r-- | server/reds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/reds.c b/server/reds.c index 05f52a08..b349d779 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1694,7 +1694,7 @@ static void reds_main_handle_message(void *opaque, size_t size, uint32_t type, v switch (type) { case SPICE_MSGC_MAIN_AGENT_START: red_printf("agent start"); - if (!reds->peer) { + if (!reds->peer || !vdagent) { return; } reds->agent_state.write_filter.discard_all = FALSE; |