From ab79025db6ed760e5d99169474f0e8d2313856f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 13 Jul 1998 17:30:19 +0200 Subject: [PATCH] Fixed bug in SSI tag detection. Rev: src/modules/spider/spider.c:1.71 --- src/modules/spider/spider.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/spider/spider.c b/src/modules/spider/spider.c index 2a00e01e03..716a374f95 100644 --- a/src/modules/spider/spider.c +++ b/src/modules/spider/spider.c @@ -43,7 +43,7 @@ #include "threads.h" #include "operators.h" -RCSID("$Id: spider.c,v 1.70 1998/07/13 14:36:39 grubba Exp $"); +RCSID("$Id: spider.c,v 1.71 1998/07/13 15:30:19 grubba Exp $"); #ifdef HAVE_PWD_H #include <pwd.h> @@ -522,7 +522,7 @@ int push_parsed_tag(char *s,int len) int is_SSI_tag; /* NOTE: At entry sp[-1] is the tagname */ - is_SSI_tag == (sp[-1].type == T_STRING) && + is_SSI_tag = (sp[-1].type == T_STRING) && (!strncmp(sp[-1].u.string->str, "!--", 3)); /* Find X=Y pairs. */ -- GitLab