Added assertions to spot invalid call sequence for <freerdp_check_fds>

This commit is contained in:
Armin Novak 2013-11-12 15:01:25 +01:00
parent bfa6410641
commit 800f946053

View File

@ -208,6 +208,10 @@ BOOL freerdp_check_fds(freerdp* instance)
int status;
rdpRdp* rdp;
assert(instance);
assert(instance->context);
assert(instance->context->rdp);
rdp = instance->context->rdp;
status = rdp_check_fds(rdp);