From 6e9c98ceef8731142d568d851cd0736296bdde5e Mon Sep 17 00:00:00 2001 From: 6 Date: Tue, 16 Oct 2001 19:44:09 +0000 Subject: Want to check nn not in for end of list condition. 2001-10-16 * gal/util/e-iconv.c (flush_entry): Want to check nn not in for end of list condition. svn path=/trunk/; revision=13699 --- e-util/e-iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-iconv.c') diff --git a/e-util/e-iconv.c b/e-util/e-iconv.c index 531d23efd6..c22c9915b2 100644 --- a/e-util/e-iconv.c +++ b/e-util/e-iconv.c @@ -317,7 +317,7 @@ flush_entry(struct _iconv_cache *ic) in = (struct _iconv_cache_node *)ic->open.head; nn = in->next; - while (in) { + while (nn) { if (in->ip != (iconv_t)-1) { g_hash_table_remove(iconv_cache_open, in->ip); iconv_close(in->ip); -- cgit