webbot-5.2.8: minor bug & fix for "-norobotstxt" argv (I think)

*** Robot/src/RobotMain.c.orig  Sun Mar 14 03:21:09 1999
--- Robot/src/RobotMain.c       Mon Feb 21 16:07:08 2000
***************
*** 332,340 ****
                if (arg+1 < argc && *argv[arg+1] != '-') {
                    mr->check = get_regtype(mr, argv[++arg], W3C_DEFAULT_REGEX_FLAGS);
                }
            } else if (!strcmp(argv[arg], "-norobotstxt")) {
              mr->flags |= MR_NOROBOTSTXT;
- #endif
  
  #ifdef HT_MYSQL
            /* If we can link against a MYSQL database library */
--- 332,340 ----
                if (arg+1 < argc && *argv[arg+1] != '-') {
                    mr->check = get_regtype(mr, argv[++arg], W3C_DEFAULT_REGEX_FLAGS);
                }
+ #endif
            } else if (!strcmp(argv[arg], "-norobotstxt")) {
              mr->flags |= MR_NOROBOTSTXT;
  
  #ifdef HT_MYSQL
            /* If we can link against a MYSQL database library */


Pål

----------------------------------------------------------------
Addr:	Pål Baltzersen, ElTele Øst AS, Fredrik Selmers vei 2, Postboks 6299 Etterstad, N-0603 Oslo.
Phone:	+47 23 18 10 00		Direct:	+47 23 18 11 74
fax:	+47 23 18 10 01		Mobile:	+47 93 08 11 74
mail:	pb@ost.eltele.no	pal.baltzersen@ost.eltele.no

Received on Monday, 21 February 2000 12:51:35 UTC