inn-2.6.0rc1 bug report

Julien ÉLIE julien at trigofacile.com
Sat May 2 10:28:57 UTC 2015


Hi David,

> [inn-2.6.0rc1/innd/art.c:1694]: (warning) Char literal compared with pointer 'begin'. Did you intend to dereference it?
>
>          if (begin == '\0')
>            continue;
>
> Maybe
>
>          if (*begin == '\0')
>            continue;

That's a good catch, thanks!
It will be fixed for the 2.5.5 and 2.6.0 releases.

Strange that I did not see that warning with various versions of gcc 
(4.7.2 to 5.1.0) and Clang 3.0-6.2 from Debian.  What compiler do you use?

-- 
Julien ÉLIE

« Tout va bien, pourvu que cela dure, comme disait Arlequin en tombant
   d'un cinquième étage. » (Prosper Mérimée)


More information about the inn-workers mailing list