aboutsummaryrefslogtreecommitdiff
path: root/template/c/base-socket-server.c
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-07-24 22:57:02 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-07-24 22:57:02 +0900
commitccba4d71ed2d7603542ff94643b31e1781503cba (patch)
treebe11fd816a2230a644239ad0b2ebf07afe694f68 /template/c/base-socket-server.c
parent9f1fe53a5cc0d0de5455b8d3a6c8ff51be228447 (diff)
downloadvim-sonictemplate-ccba4d71ed2d7603542ff94643b31e1781503cba.tar.gz
vim-sonictemplate-ccba4d71ed2d7603542ff94643b31e1781503cba.tar.bz2
vim-sonictemplate-ccba4d71ed2d7603542ff94643b31e1781503cba.zip
retab
Diffstat (limited to 'template/c/base-socket-server.c')
-rw-r--r--template/c/base-socket-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/c/base-socket-server.c b/template/c/base-socket-server.c
index 5e41e40..2ea9416 100644
--- a/template/c/base-socket-server.c
+++ b/template/c/base-socket-server.c
@@ -64,7 +64,7 @@ main(int argc, char* argv[]) {
exit(1);
}
- writer_len = sizeof(writer_addr);
+ writer_len = sizeof(writer_addr);
if ((client_fd = accept(server_fd,(struct sockaddr *)&writer_addr, &writer_len)) < 0) {
socket_perror("reader: accept");
exit(1);