aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-iconv.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8922aa8a7c..9f86228ca3 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,7 +1,9 @@
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
- * camel-iconv.c (iconv_cache_bucket_expire): Use g_iconv_close()
- here, missed this before.
+ * camel-iconv.c: Make bucket->refcount 31 bits and bucket->used 1
+ bit instead of having each use their own 32bit int.
+ (iconv_cache_bucket_expire): Use g_iconv_close() here, missed this
+ before.
(camel_iconv): Might as well call g_iconv here even though it just
calls iconv directly.
diff --git a/camel/camel-iconv.c b/camel/camel-iconv.c
index de97052669..9bf614d148 100644
--- a/camel/camel-iconv.c
+++ b/camel/camel-iconv.c
@@ -41,8 +41,8 @@
struct _iconv_cache_bucket {
struct _iconv_cache_bucket *next;
struct _iconv_cache_bucket *prev;
- guint32 refcount;
- gboolean used;
+ guint32 refcount:31;
+ guint32 used:1;
iconv_t cd;
char *key;
};