From 18634081fa38aaa989a88cf2b1048faec6dfd90c Mon Sep 17 00:00:00 2001 From: MissValeska Date: Sun, 17 Aug 2014 07:48:21 -0700 Subject: [PATCH] Variable name correction --- src/ntk-console-bindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntk-console-bindings.c b/src/ntk-console-bindings.c index 43249a6..e9163aa 100644 --- a/src/ntk-console-bindings.c +++ b/src/ntk-console-bindings.c @@ -168,7 +168,7 @@ void ntkd_request(void) { printf("Ready for client connect().\n"); sockfd_2 = accept(sockfd_1, NULL, NULL); - if (sd2 < 0) { + if (sockfd_2 < 0) { perror("accept() failed"); exit(-1); }