Fix typo (found by codespell) (#753)

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
This commit is contained in:
Syrone Wong
2016-08-03 06:50:43 -05:00
committed by Max Lv
parent 34b9036b5b
commit b1f5c68650
5 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -402,7 +402,7 @@ static remote_t *connect_to_remote(struct addrinfo *res,
const char *iface = server->listen_ctx->iface;
#endif
// initilize remote socks
// initialize remote socks
sockfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
if (sockfd < 0) {
ERROR("socket");
@@ -545,9 +545,9 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents)
// wait for more
if (verbose) {
#ifdef __MINGW32__
LOGI("imcomplete header: %u", r);
LOGI("incomplete header: %u", r);
#else
LOGI("imcomplete header: %zu", r);
LOGI("incomplete header: %zu", r);
#endif
}
return;
@@ -1588,7 +1588,7 @@ int main(int argc, char **argv)
LOGI("initializing ciphers... %s", method);
int m = enc_init(password, method);
// inilitialize ev loop
// initialize ev loop
struct ev_loop *loop = EV_DEFAULT;
// setup udns
@@ -1606,7 +1606,7 @@ int main(int argc, char **argv)
for (int i = 0; i < nameserver_num; i++)
LOGI("using nameserver: %s", nameservers[i]);
// inilitialize listen context
// initialize listen context
listen_ctx_t listen_ctx_list[server_num];
// bind to each interface