]> hackdaworld.org Git - my-code/ivac.git/commitdiff
fixed argc bug
authorhackbard <hackbard>
Fri, 1 Nov 2002 23:19:02 +0000 (23:19 +0000)
committerhackbard <hackbard>
Fri, 1 Nov 2002 23:19:02 +0000 (23:19 +0000)
dgramrcv.c

index d8ec19ee5bb0a6702294c3ae16a7140f8d4771d0..d235b660f590ea1e602f23bd4efc32854666d393 100644 (file)
@@ -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 <port>\n",argv[0]);
     exit(1);
   }