In message <[email protected]> Vincent Sanders <[email protected]> wrote:
> if ((data->comment != NULL) &&
> (strcmp(data->comment, "") != 0)) {
>
> however would a test against (data->comment[0] != 0) not be cheaper
> than a strcmp call?
Any decent compiler will do this for you.
John.
--
John Tytgat
[email protected]
