[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
This commit is contained in:
John Mark Bell 2003-12-29 18:59:15 +00:00
parent d344cb486e
commit 4e2345da92
2 changed files with 10 additions and 1 deletions

View File

@ -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;

View File

@ -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;