On Fri, 11 Jan 2013, jon pounder wrote:
I try to write comparisons as != where possible and then there is no
confusion and less mistakes possible. Most compilers will warn on the
example below now.
Or you can write comparisons as 'constant operator variable' like:
if (0 == onhook)
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users