Re: [Exim] 4.12 bug-fix release

Top Pagina
Delete this message
Reply to this message
Auteur: Nico Erfurth
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] 4.12 bug-fix release
Philip Hazel wrote:
> On Wed, 18 Dec 2002, Nico Erfurth wrote:
>
>
>>Just beeing curious, what's the reason for doing:
>>
>> int c = Ustrncmp(name, lookup_list[mid].name, len);
>> if (c == 0 && Ustrlen(lookup_list[mid].name) == len)
>>
>>this in search_findtype?
>>
>>Instead of just
>>int c = Ustrcmp(name, lookup_list[mid].name);
>
>
> Read the comments in the code! In particular, this line:
>
>   name       lookup type name - not necessarily zero terminated (e.g. dbm*)


Ahh, ok :)

Thanks for clarification.