Commit 5b3ad06f9bf84671c8d18c4ebdd602fbf3250813

Authored by perry.werneck@gmail.com
1 parent a81b4240

Reincluindo dialogo para salvar o bloco selecionado

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
@@ -626,6 +626,9 @@ int lib3270_connect(H3270 *h, const char *n, int wait) @@ -626,6 +626,9 @@ int lib3270_connect(H3270 *h, const char *n, int wait)
626 if(PCONNECTED) 626 if(PCONNECTED)
627 return EBUSY; 627 return EBUSY;
628 628
  629 + if(!n)
  630 + return ENOENT;
  631 +
629 rc = do_connect(h,n); 632 rc = do_connect(h,n);
630 if(rc) 633 if(rc)
631 return rc; 634 return rc;