From ccd3fbb366ce6c2ca7035e175378d9b1ec94cd72 Mon Sep 17 00:00:00 2001 From: himanshu-17 <56030087+himanshu-17@users.noreply.github.com> Date: Tue, 1 Oct 2019 20:36:25 +0530 Subject: [PATCH] Update 14.10.c --- 14.10.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/14.10.c b/14.10.c index 246ce50..92d0d3d 100644 --- a/14.10.c +++ b/14.10.c @@ -7,7 +7,7 @@ int main(void) { - int n, flag; + int s, flag; char ctlbuf[BUFFSIZE], datbuf[BUFFSIZE]; struct strbuf ctl, dat; @@ -18,7 +18,7 @@ int main(void) for ( ; ;) { flag = 0; - if ((n = getmsg(STDIN_FILENO, &ctl, &dat, &flag)) < 0) { + if ((s = getmsg(STDIN_FILENO, &ctl, &dat, &flag)) < 0) { printf("getmsg error\n"); exit(-1); }