Connection: Store the port number as a string

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2013-08-17 05:31:06 -04:00
parent 9187e307c6
commit c1f96b37a1
9 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ int run_server( const char *desired_ip, const char *desired_port,
network->set_verbose();
}
printf( "\nMOSH CONNECT %d %s\n", network->port(), network->get_key().c_str() );
printf( "\nMOSH CONNECT %s %s\n", network->port().c_str(), network->get_key().c_str() );
fflush( stdout );
/* don't let signals kill us */