* GSWeb.framework/GSWApplication+Defaults.m

(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to
        key value coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19972 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2004-09-02 12:38:45 +00:00
parent 15ffb2dc9c
commit c1b70dad48
2 changed files with 13 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2004-09-02 David Ayers <d.ayers@inode.at>
* GSWeb.framework/GSWApplication+Defaults.m
(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to key
value coding methods.
2004-09-01 David Ayers <d.ayers@inode.at> 2004-09-01 David Ayers <d.ayers@inode.at>
* GSWeb.framework/GSWDeclarationParser.m: * GSWeb.framework/GSWDeclarationParser.m:

View file

@ -767,24 +767,24 @@ static BOOL _dflt_directConnectEnabled = NO;
}; };
//-------------------------------------------------------------------- //--------------------------------------------------------------------
static BOOL _dflt_init_cgiAdaptorURL = NO; static BOOL _dflt_init_CGIAdaptorURL = NO;
static NSString *_dflt_cgiAdaptorURL = nil; static NSString *_dflt_CGIAdaptorURL = nil;
+(NSString*)cgiAdaptorURL +(NSString*)cgiAdaptorURL
{ {
INIT_DFLT_OBJ(cgiAdaptorURL, INIT_DFLT_OBJ(CGIAdaptorURL,
GSWOPT_CGIAdaptorURL[GSWebNamingConv]); GSWOPT_CGIAdaptorURL[GSWebNamingConv]);
if ([_dflt_cgiAdaptorURL length] == 0) if ([_dflt_CGIAdaptorURL length] == 0)
{ {
[self setCGIAdaptorURL: @"http://localhost/cgi-bin/GSWeb"]; [self setCGIAdaptorURL: @"http://localhost/cgi-bin/GSWeb"];
} }
return _dflt_cgiAdaptorURL; return _dflt_CGIAdaptorURL;
}; };
//-------------------------------------------------------------------- //--------------------------------------------------------------------
+(void)setCGIAdaptorURL:(NSString*)url +(void)setCGIAdaptorURL:(NSString*)url
{ {
ASSIGNCOPY(_dflt_cgiAdaptorURL, url); ASSIGNCOPY(_dflt_CGIAdaptorURL, url);
_dflt_init_cgiAdaptorURL = YES; _dflt_init_CGIAdaptorURL = YES;
}; };
//-------------------------------------------------------------------- //--------------------------------------------------------------------