update usage

This commit is contained in:
Max Lv
2013-04-05 11:10:09 +08:00
parent 70929b7bd4
commit 2c732efaac
5 changed files with 357 additions and 385 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ static void server_recv_cb (EV_P_ ev_io *w, int revents) {
if (r == 0) {
// connection closed
remote->buf = 0;
remote->buf_len = 0;
close_and_free_server(EV_A_ server);
if (remote != NULL) {
ev_io_start(EV_A_ &remote->send_ctx->io);
+1 -1
View File
@@ -54,7 +54,7 @@ void usage() {
printf(" Shadowsocks-libev %s\n\n", VERSION);
printf(" maintained by Max Lv <max.c.lv@gmail.com>\n\n");
printf(" usage:\n\n");
printf(" ss-[local|server] -s server_host -p server_port -l local_port -k password\n");
printf(" ss-[local|redir|server] -s server_host -p server_port -l local_port -k password\n");
printf(" [-m encrypt_method] [-f pid_file] [-t timeout] [-c config_file]\n");
printf("\n");
printf(" options:\n\n");