mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 11:43:50 +00:00
refine error message
This commit is contained in:
@@ -753,6 +753,10 @@ int main(int argc, char **argv)
|
||||
// parse tunnel addr
|
||||
parse_addr(tunnel_addr_str, &tunnel_addr);
|
||||
|
||||
if (tunnel_addr.port == NULL) {
|
||||
FATAL("tunnel port is not defined.");
|
||||
}
|
||||
|
||||
#ifdef __MINGW32__
|
||||
winsock_init();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user