mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
More of the same
This commit is contained in:
parent
6a35cb60fd
commit
48964a911e
@ -312,7 +312,8 @@ static char *ares_striendstr(const char *s1, const char *s2)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* Jump to the end of s1 minus the length of s2 */
|
/* Jump to the end of s1 minus the length of s2 */
|
||||||
c1 = (const char *)c1_begin = s1+s1_len-s2_len;
|
c1_begin = s1+s1_len-s2_len;
|
||||||
|
c1 = (const char *)c1_begin;
|
||||||
c2 = s2;
|
c2 = s2;
|
||||||
while (c2 < s2+s2_len)
|
while (c2 < s2+s2_len)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user