lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Re: Bug#509321: lynx-cur: Visiting http://reddit.com/ cau


From: Thorsten Glaser
Subject: Re: [Lynx-dev] Re: Bug#509321: lynx-cur: Visiting http://reddit.com/ causes segfault.
Date: Tue, 23 Dec 2008 18:35:37 +0000 (UTC)

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.

//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.   -- Rob Pike in "Notes on Programming in C"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]