On Dec 23, 2008, at 11:35, Thorsten Glaser wrote:
Thomas Dickey dixit:+ if (ct == 0) { + method = cftNone; + } else if (!strncasecomp(ct, "application/gzip", 16) ||Is it a string or a number? Please use NULL, not 0.
If it's a string or notionally logical, I'm quite comfortable with "if ( ! ct ) ..." (or "if ( ! *ct ) ...", depending). If it's notionally numeric, I'm more comfortable with "if (ct == 0) ..." -- gil _______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
