• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MoreSCF bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: MoreSCF bug
      • From: Quinn <email@hidden>
  • Prev by Date: PPOE and Modem Status
  • Next by Date: loopback traffic gets to cable modem?
  • Previous by thread: Re: PPOE and Modem Status
  • Next by thread: Re: MoreSCF bug
  • Index(es):
    • Date
    • Thread