use cStringLength in place of length

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21044 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
dwetzel 2005-04-04 15:42:47 +00:00
parent 81ff20297b
commit 0873b97bc4
2 changed files with 2 additions and 2 deletions

View file

@ -955,7 +955,7 @@ int GSWApplicationMain(NSString* applicationClassName,
GSWAdaptor* firstAdaptor=[adaptors objectAtIndex:0];
int port=[firstAdaptor port];
GSWDynamicURLString* anURL=[[GSWDynamicURLString alloc]initWithCString:[cgiAdaptorURL cString]
length:[cgiAdaptorURL length]];
length:[cgiAdaptorURL cStringLength]];
NSDebugMLog(@"anURL=%@",anURL);
[anURL setURLPort:port];
NSDebugMLog(@"anURL=%@",anURL);

View file

@ -244,7 +244,7 @@ RCS_ID("$Id$")
};
_uri=[[GSWDynamicURLString alloc]initWithCString:[anURL cString]
length:[anURL length]];
length:[anURL cStringLength]];
NSDebugMLLog(@"requests",@"uri=%@",_uri);
[_uri checkURL];