nserver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 651f8a9ea23498d5adde77b89d94d85f654672b4
parent 607ff82970a2f289e0529d778c9f634178283569
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 21 Nov 2019 20:53:09 -0500

nserver/bin/statserve.c: Update main.

nserver/bin/statserve.c (main): Call nserve instead of echoserve on
fork.

Diffstat:
nserver/bin/statserve.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nserver/bin/statserve.c b/nserver/bin/statserve.c @@ -1,4 +1,4 @@ -#include <necho.h> +#include <nserve.h> #include <nsocket.h> #define BACKLOG 10 @@ -25,7 +25,7 @@ int main(void) check(pidc != -1, "statserve: fork failed"); if (pidc == 0) { - echoserve(sockfd_c); + nserve(sockfd_c); } rc = close(sockfd_c);