mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-23 15:33:43 +00:00
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:
parent
81ff20297b
commit
0873b97bc4
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue