http://defect.opensolaris.org/bz/show_bug.cgi?id=14763
Michael Hunter <michael.hunter at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael.hunter at sun.com
--- Comment #1 from Michael Hunter <michael.hunter at sun.com> 2010-02-23
16:58:17 UTC ---
(In reply to comment #0)
> strstr() retuns NULL if a match is not found. The check in check_wlan()
> should
> look for NULL, not 0.
I havn't looked at the code but by the language specification in a pointer
context 0 is equivalent to NULL. So this isn't a bug in that case. But I
think it makes the code read more expected which is a good thing.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.