fixed a warning message (trivial) removed incorrect warning message when
* error.c: fixed a warning message (trivial)
* doc/search.php: removed incorrect warning message when word
search not found in last of multiple tables (bug 119535)
diff --git a/ChangeLog b/ChangeLog
index 6ec57ff..70da84b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Sep 20 17:22:20 PDT 2003 William Brack <wbrack@mmm.com.hk>
+
+ * error.c: fixed a warning message (trivial)
+ * doc/search.php: removed incorrect warning message when word
+ search not found in last of multiple tables (bug 119535)
+
Fri Sep 19 14:26:28 CEST 2003 Daniel Veillard <daniel@veillard.com>
* configure.in: preparing a 2.6.0-beta2 release
diff --git a/doc/search.php b/doc/search.php
index ed11884..b00f12d 100644
--- a/doc/search.php
+++ b/doc/search.php
@@ -386,9 +386,6 @@
mysql_free_result($result);
}
}
- if (($j <= 0) && ($k <= 0)) {
- echo "<p> No result found for $word\n";
- }
}
mysql_close($link);
$nb = count($results);
diff --git a/error.c b/error.c
index 5b5c289..c6f5bcf 100644
--- a/error.c
+++ b/error.c
@@ -187,7 +187,7 @@
while ((n<col) && (n++ < sizeof(content)-2) && (*ctnt != 0)) {
if (*(ctnt) != '\t')
*(ctnt) = ' ';
- *ctnt++;
+ ctnt++;
}
*ctnt++ = '^';
*ctnt = 0;