Re: [Exim] 4.12 bug-fix release

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nico Erfurth
日付:  
To: exim-users
題目: 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.