Use string objects instead of C strings

for name arguments to encoding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@796 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-24 03:33:21 +00:00
parent a11f420b91
commit 07b43d0e5d
14 changed files with 41 additions and 41 deletions

View file

@ -387,7 +387,7 @@ or
{
[aCoder encodeValueOfObjCType:@encode(typeof(sockPort.sin_port))
at:&sockPort.sin_port
withName:"socket number"];
withName:@"socket number"];
if (![self isSoft])
{
struct hostent *hp;
@ -400,13 +400,13 @@ or
bcopy(hp->h_addr, &sp.sin_addr, hp->h_length);
[aCoder encodeValueOfObjCType:@encode(typeof(sp.sin_addr.s_addr))
at:&sp.sin_addr.s_addr
withName:"inet address"];
withName:@"inet address"];
}
else
{
[aCoder encodeValueOfObjCType:@encode(typeof(sockPort.sin_addr.s_addr))
at:&sockPort.sin_addr.s_addr
withName:"inet address"];
withName:@"inet address"];
}
}