further tweak description details

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28579 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-08-31 07:47:44 +00:00
parent 8f97c8ffc9
commit 9c2b204c13
4 changed files with 10 additions and 6 deletions

View file

@ -1339,8 +1339,9 @@ typedef struct {
names = [[NSMessagePortNameServer sharedInstance] namesForPort: self];
desc = [NSString stringWithFormat:
@"NSMessagePort %p %@ with file name %s",
self, ([names count] == 0) ? (id)@"<un-named>" : (id)names, [name bytes]];
@"<%s %p %@ with file name %s>",
GSClassNameFromObject(self), self,
([names count] == 0) ? (id)@"<un-named>" : (id)names, [name bytes]];
return desc;
}