summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-12-29 18:59:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-12-29 18:59:15 +0000
commit4e2345da9203a286ef688d14aabdcb29a98a4328 (patch)
tree7f49cf703631c0304803c58d6b771abb3c895e38
parentd344cb486ee76625e9b318e43bd97b01e0b596a3 (diff)
downloadnetsurf-4e2345da9203a286ef688d14aabdcb29a98a4328.tar.gz
netsurf-4e2345da9203a286ef688d14aabdcb29a98a4328.tar.bz2
[project @ 2003-12-29 18:59:15 by jmb]
Comment out unnecessary call to cache_dump from html_process_data. Add Licence and relevant #include to tt2code. Stops the compiler moaning about no definition of unicode_transliterate. svn path=/import/netsurf/; revision=467
-rw-r--r--render/html.c2
-rwxr-xr-xutils/tt2code9
2 files changed, 10 insertions, 1 deletions
diff --git a/render/html.c b/render/html.c
index 769610798..8ecef8831 100644
--- a/render/html.c
+++ b/render/html.c
@@ -60,7 +60,7 @@ void html_process_data(struct content *c, char *data, unsigned long size)
{
unsigned long x;
LOG(("content %s, size %lu", c->url, size));
- cache_dump();
+ /*cache_dump();*/
c->data.html.source = xrealloc(c->data.html.source, c->data.html.length + size);
memcpy(c->data.html.source + c->data.html.length, data, size);
c->data.html.length += size;
diff --git a/utils/tt2code b/utils/tt2code
index c4dc07820..c15a2afdf 100755
--- a/utils/tt2code
+++ b/utils/tt2code
@@ -1,6 +1,15 @@
#!/usr/bin/perl -W
print <<END;
+/*
+ * This file is part of NetSurf, http://netsurf.sourceforge.net/
+ * Licensed under the GNU General Public License,
+ * http://www.opensource.org/licenses/gpl-license
+ * Copyright 2003 James Bursa <bursa@users.sourceforge.net>
+ */
+
+#include "netsurf/utils/utils.h"
+
void unicode_transliterate(unsigned int c, char **r)
{
char *s = *r;