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:
richard 1998-09-30 07:42:38 +00:00
parent 1a0efaad7c
commit 0806cb068b
27 changed files with 143 additions and 149 deletions

View file

@ -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];