Commit 59680e1128f91b08521746d7607b737254383100
1 parent
1bdff317
Exists in
master
and in
1 other branch
Using time type.
Showing
5 changed files
with
5 additions
and
5 deletions
Show diff stats
client/src/include/lib3270/ipc.h
| ... | ... | @@ -591,7 +591,7 @@ |
| 591 | 591 | virtual void action(const char *action_name) = 0; |
| 592 | 592 | |
| 593 | 593 | // Connect/disconnect |
| 594 | - virtual void connect(const char *url = nullptr, int seconds = DEFAULT_TIMEOUT) = 0; | |
| 594 | + virtual void connect(const char *url = nullptr, time_t seconds = DEFAULT_TIMEOUT) = 0; | |
| 595 | 595 | virtual void disconnect() = 0; |
| 596 | 596 | |
| 597 | 597 | /// @brief Wait. | ... | ... |
client/src/session/local/actions.cc
| ... | ... | @@ -77,7 +77,7 @@ |
| 77 | 77 | chkResponse(lib3270_action_activate_by_name(action_name,hSession)); |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - void Local::Session::connect(const char *url, int seconds) { | |
| 80 | + void Local::Session::connect(const char *url, time_t seconds) { | |
| 81 | 81 | |
| 82 | 82 | std::lock_guard<std::mutex> lock(sync); |
| 83 | 83 | chkResponse(lib3270_connect_url(hSession,url,seconds)); | ... | ... |
client/src/session/local/private.h
| ... | ... | @@ -113,7 +113,7 @@ |
| 113 | 113 | TN3270::Action * getAction(const LIB3270_ACTION *descriptor) override; |
| 114 | 114 | |
| 115 | 115 | void action(const char *action_name) override; |
| 116 | - void connect(const char *url, int seconds) override; | |
| 116 | + void connect(const char *url, time_t seconds) override; | |
| 117 | 117 | void disconnect() override; |
| 118 | 118 | void pfkey(unsigned short value) override; |
| 119 | 119 | void pakey(unsigned short value) override; | ... | ... |
client/src/session/remote/actions.cc
client/src/session/remote/private.h
| ... | ... | @@ -112,7 +112,7 @@ |
| 112 | 112 | |
| 113 | 113 | // Actions |
| 114 | 114 | void action(const char *action_name) override; |
| 115 | - void connect(const char *url, int seconds) override; | |
| 115 | + void connect(const char *url, time_t seconds) override; | |
| 116 | 116 | void disconnect() override; |
| 117 | 117 | void pfkey(unsigned short value) override; |
| 118 | 118 | void pakey(unsigned short value) override; | ... | ... |