From: hackbard Date: Fri, 1 Nov 2002 23:19:02 +0000 (+0000) Subject: fixed argc bug X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=004afa69cde9beb0216cd235f90a54fde29cc475;p=my-code%2Fivac.git fixed argc bug --- 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); }