remove DISPATCH_COMPAT

This commit is contained in:
Markus Friedl
2012-09-19 10:23:19 +02:00
parent 5f13a96cef
commit fa8ee9ffc4
4 changed files with 66 additions and 63 deletions

View File

@@ -1409,7 +1409,10 @@ client_process_output(struct ssh *ssh, fd_set *writeset)
static void
client_process_buffered_input_packets(struct ssh *ssh)
{
ssh_dispatch_run(ssh, DISPATCH_NONBLOCK, &quit_pending);
int r;
if ((r = ssh_dispatch_run(ssh, DISPATCH_NONBLOCK, &quit_pending)) != 0)
fatal("%s: %s", __func__, ssh_err(r));
}
/* scan buf[] for '~' before sending data to the peer */