Re: [Question] Segmentation fault

From: Dust (dustlos@hotmail.com)
Date: 04/16/01


  if (pos < argc) {
    if (!isdigit(*argv[pos])) {
      log("Usage: %s [-c] [-m] [-q] [-r] [-s] [-d pathname] [port #]\n",
argv[0]);
      exit(1);
    } else if ((port = atoi(argv[pos])) <= 1024) {         <-- 302 usually
the error
      log("SYSERR: Illegal port number %d.", port);
      exit(1);                        <- 304 sometimes the error
    }
  }

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST