From 48964a911e63690c982f227356b5cd2861426a79 Mon Sep 17 00:00:00 2001 From: Dominick Meglio Date: Tue, 17 May 2005 04:20:58 +0000 Subject: [PATCH] More of the same --- ares/ares_getnameinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ares/ares_getnameinfo.c b/ares/ares_getnameinfo.c index 4eeed94cd..23a5c79d4 100644 --- a/ares/ares_getnameinfo.c +++ b/ares/ares_getnameinfo.c @@ -312,7 +312,8 @@ static char *ares_striendstr(const char *s1, const char *s2) return NULL; /* 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; while (c2 < s2+s2_len) {