mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Removed references to cStringNoCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1a0efaad7c
commit
0806cb068b
27 changed files with 143 additions and 149 deletions
|
@ -190,7 +190,7 @@ static NSMapTable *port_number_2_in_port = NULL;
|
|||
{
|
||||
int n;
|
||||
|
||||
n = name_2_port_number ([name cStringNoCopy]);
|
||||
n = name_2_port_number ([name cString]);
|
||||
return [self newForReceivingFromPortNumber: n];
|
||||
}
|
||||
|
||||
|
@ -397,7 +397,7 @@ static Array *udp_out_port_array;
|
|||
if (!hostname || ![hostname length])
|
||||
host_cstring = "localhost";
|
||||
else
|
||||
host_cstring = [hostname cStringNoCopy];
|
||||
host_cstring = [hostname cString];
|
||||
hp = gethostbyname ((char*)host_cstring);
|
||||
if (hp == 0)
|
||||
[self error: "unknown host: \"%s\"", host_cstring];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue