Connection: Store the port number as a string
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
class STMClient {
|
||||
private:
|
||||
std::string ip;
|
||||
int port;
|
||||
std::string port;
|
||||
std::string key;
|
||||
|
||||
int escape_key;
|
||||
@@ -83,7 +83,7 @@ private:
|
||||
void resume( void ); /* restore state after SIGCONT */
|
||||
|
||||
public:
|
||||
STMClient( const char *s_ip, int s_port, const char *s_key, const char *predict_mode )
|
||||
STMClient( const char *s_ip, const char *s_port, const char *s_key, const char *predict_mode )
|
||||
: ip( s_ip ), port( s_port ), key( s_key ),
|
||||
escape_key( 0x1E ), escape_pass_key( '^' ), escape_pass_key2( '^' ),
|
||||
escape_requires_lf( false ), escape_key_help( L"?" ),
|
||||
|
||||
Reference in New Issue
Block a user