Commit 3577dc18d07578c394e7679dbe5e43d04a43e66b
1 parent
b1377cfa
Exists in
master
and in
3 other branches
Corrigindo incoerências nos diálogos e APIs
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
host.c
macros.c
| ... | ... | @@ -258,12 +258,12 @@ |
| 258 | 258 | break; |
| 259 | 259 | |
| 260 | 260 | case 2: |
| 261 | - lib3270_set_host(hSession,argv[1]); | |
| 261 | + lib3270_set_url(hSession,argv[1]); | |
| 262 | 262 | rc = lib3270_connect(hSession,0); |
| 263 | 263 | break; |
| 264 | 264 | |
| 265 | 265 | case 3: |
| 266 | - lib3270_set_host(hSession,argv[1]); | |
| 266 | + lib3270_set_url(hSession,argv[1]); | |
| 267 | 267 | rc = lib3270_connect(hSession,atoi(argv[2])); |
| 268 | 268 | break; |
| 269 | 269 | ... | ... |
testprogram.c
| ... | ... | @@ -40,7 +40,7 @@ int main(int numpar, char *param[]) |
| 40 | 40 | // rc = lib3270_connect_host(h, "127.0.0.1", "9090", LIB3270_CONNECT_OPTION_WAIT); |
| 41 | 41 | |
| 42 | 42 | // lib3270_set_host_url(h,"tn3270://fandezhi.efglobe.com:9090?lu=default"); |
| 43 | - lib3270_set_host(h,"tn3270://fandezhi.efglobe.com"); | |
| 43 | + lib3270_set_url(h,"tn3270://fandezhi.efglobe.com"); | |
| 44 | 44 | |
| 45 | 45 | printf("\nConnect exits with rc=%d\n",rc); |
| 46 | 46 | ... | ... |