From c5155e4a59c1965203b2f894c4f3c06358fa3a65 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Thu, 3 Dec 2015 10:01:48 +0800 Subject: [PATCH] fix typo --- src/local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local.c b/src/local.c index d637288f..d3e8c75f 100644 --- a/src/local.c +++ b/src/local.c @@ -258,7 +258,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents) // insert shadowsocks header if (!remote->direct) { #ifdef ANDROID - tx += remote->buf_len; + tx += remote->buf->len; #endif int err = ss_encrypt(remote->buf, server->e_ctx);