diff options
author | jeesyn.liu <jeesyn.liu@gmail.com> | 2017-08-08 17:45:51 +0800 |
---|---|---|
committer | jeesyn.liu <jeesyn.liu@gmail.com> | 2017-08-08 17:45:51 +0800 |
commit | 447b373fc9d8d7cd3f66de42f7a809fb40941bfc (patch) | |
tree | 823008192d357cab46a8c5e71c2326a740d3f4cb | |
parent | 202c2ebec4d47d6f8cfbb6c91dd4486dd62aebf6 (diff) | |
download | redis-447b373fc9d8d7cd3f66de42f7a809fb40941bfc.tar.gz |
fix a typo
-rw-r--r-- | src/anet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anet.c b/src/anet.c index 53a56b0d2..e9530398d 100644 --- a/src/anet.c +++ b/src/anet.c @@ -237,7 +237,7 @@ int anetResolveIP(char *err, char *host, char *ipbuf, size_t ipbuf_len) { static int anetSetReuseAddr(char *err, int fd) { int yes = 1; - /* Make sure connection-intensive things like the redis benckmark + /* Make sure connection-intensive things like the redis benchmark * will be able to close/open sockets a zillion of times */ if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) == -1) { anetSetError(err, "setsockopt SO_REUSEADDR: %s", strerror(errno)); |