* GSWeb.framework/GSWApplication+Defaults.m ([+host]): Set default

host to localhost.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26257 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2008-03-10 06:50:48 +00:00
parent b99032f344
commit 32f0ad9061
2 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,9 @@
Determine character set for parser by invoking charsetFromEncoding:
on document instead of parser.
* GSWeb.framework/GSWApplication+Defaults.m ([+host]): Set default
host to localhost.
2008-03-04 David Wetzel <dave@turbocat.de>
GSWeb.framework/GSWPageDefElement.m

View file

@ -1300,6 +1300,7 @@ static NSString *_dflt_host = nil;
{
INIT_DFLT_OBJ(host,
GSWOPT_Host[GSWebNamingConv]);
if (!_dflt_host) _dflt_host = @"localhost";
return _dflt_host;
};