Make sure we close the connection before redirect.

Complementary fix for commit r1825.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1827 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2014-09-02 10:24:40 +00:00
parent 03ec4e1fc8
commit 4707416314

View File

@ -1159,7 +1159,10 @@ main(int argc, char *argv[])
} }
if (g_redirect) if (g_redirect)
{
rdp_disconnect();
continue; continue;
}
/* By setting encryption to False here, we have an encrypted login /* By setting encryption to False here, we have an encrypted login
packet but unencrypted transfer of other packets */ packet but unencrypted transfer of other packets */