From 887a5fc59a8ef14efb84b7eef157c54205aab767 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 16 Jul 1998 20:22:38 +0200
Subject: [PATCH] Fixed bug in parse_html() with array-return.

Rev: src/modules/spider/spider.c:1.58
---
 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 de6324d8c4..8980947e4e 100644
--- a/src/modules/spider/spider.c
+++ b/src/modules/spider/spider.c
@@ -42,7 +42,7 @@
 #include "threads.h"
 #include "operators.h"
 
-RCSID("$Id: spider.c,v 1.57 1998/07/13 15:40:47 grubba Exp $");
+RCSID("$Id: spider.c,v 1.58 1998/07/16 18:22:38 grubba Exp $");
 
 #ifdef HAVE_PWD_H
 #include <pwd.h>
@@ -785,7 +785,7 @@ void do_html_parse(struct pike_string *ss,
 	    push_string(make_shared_binary_string(s+last,i-last-1)); 
 	    (*strings)++; 
 	  }
-	  i=last=j+k;
+	  i=last=j=m;
 	  push_string(ss2);
 	  (*strings)++;
 	  continue;
-- 
GitLab