osip-dev
[Top][All Lists]
Advanced

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

[osip-dev] eXosip_find_authentication_info


From: FEICHTER Christoph
Subject: [osip-dev] eXosip_find_authentication_info
Date: Wed, 4 Feb 2015 18:03:40 +0000

hi,
 
I would like to understand what the function eXosip_find_authentication_info does.
the checks for the exact match of username and realm are ok.
 
but what does this condition mean ?
 
0 == osip_strncasecmp (realm + 1, authinfo->realm, strlen (realm) - 2)
 
why realm+1 ?
why the length of realm -2 ?
a comment in the code would help …
 
br,
christoph
 
 

reply via email to

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