From 004afa69cde9beb0216cd235f90a54fde29cc475 Mon Sep 17 00:00:00 2001 From: hackbard Date: Fri, 1 Nov 2002 23:19:02 +0000 Subject: [PATCH] fixed argc bug --- dgramrcv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgramrcv.c b/dgramrcv.c index d8ec19e..d235b66 100644 --- a/dgramrcv.c +++ b/dgramrcv.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { int receive_bytes, write_bytes; socklen_t target_addr_len; - if(argc!=3) { + if(argc!=2) { printf("usage: %s \n",argv[0]); exit(1); } -- 2.39.2