On Wed, Oct 27, 2010 at 12:07:35PM +0200, Dan Carpenter wrote:
If you're going to prefer "*p != '\0'" to "*p" as a test, I'd
like you to include parens: "if ((*p != '\0') && (*p != '\n'))" While
the order of precedence is correct in your change, it makes folks have
to stop and think about order of precedence in the first place.
Joel
--
Life's Little Instruction Book #444
"Never underestimate the power of a kind word or deed."
Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
--