MoreSCF bug
MoreSCF bug
- Subject: MoreSCF bug
- From: Jérome Foucher <email@hidden>
- Date: Fri, 25 Oct 2002 16:33:37 +0200
Hi all !
Sorry Quinn, but I think I've found a bug in the latest MoreSCF (the
bug might be in the older ones too, I haven't checked...).
In the function SubstituteKeywordsInUserVisibleName (from
MoreSCFPortScanner.c), in the first paragraph "BSD Name", you've
written :
MoreAssertQ( CFDictionnaryGetValue(interfaceInfo,
CFSTR("kIOBSDNameKey")) != nil );
CFStringReplace( result, foundRange,
CFDictionnaryGetValue(interfaceInfo, kIOBSDNameKey));
There are two mistakes.
kIOBSDNameKey is defined as "BSD Name"
thus the first line should be :
MoreAssertQ( CFDictionnaryGetValue(interfaceInfo, CFSTR(kIOBSDNameKey))
!= nil );
and the second one :
CFStringReplace( result, foundRange,
CFDictionnaryGetValue(interfaceInfo, CFSTR(kIOBSDNameKey)));
Hope this helps
Jirome
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.