Commit 0b274ebe7be574133bbf8fef98e9fe3c983d445f

Authored by perry.werneck@gmail.com
1 parent 967b3189
Exists in master

wip

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
latest/src/lib/host.c
... ... @@ -692,7 +692,8 @@ void host_disconnect(H3270 *h, int failed)
692 692 if(!h)
693 693 h = &h3270;
694 694  
695   - if (CONNECTED || HALF_CONNECTED) {
  695 + if (CONNECTED || HALF_CONNECTED)
  696 + {
696 697 x_remove_input(h);
697 698 net_disconnect();
698 699 h->net_sock = -1;
... ...