[Users] Domain: is_from_local() is case sensitive in caching mode.

Juha Heinanen jh at tutpro.com
Mon Mar 13 11:27:37 CET 2006


Bogdan-Andrei Iancu writes:

 > indeed, the search through the cache is done case sensitive  via 
 > strncasesmp().

i don't get it.  manual says:

       The  strcasecmp() function compares the two strings s1 and s2, ignoring
       the case of the characters.  It returns an integer less than, equal to,
       or  greater than zero if s1 is found, respectively, to be less than, to
       match, or be greater than s2.

       The strncasecmp() function is similar,  except  it  only  compares  the
       first n characters of s1.

-- juha




More information about the sr-users mailing list