aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-medium.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-medium.c')
-rw-r--r--camel/camel-medium.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-medium.c b/camel/camel-medium.c
index 25f6b097bd..51451d6173 100644
--- a/camel/camel-medium.c
+++ b/camel/camel-medium.c
@@ -138,7 +138,7 @@ add_header (CamelMedium *medium, gchar *header_name, gchar *header_value)
/* FIXME: This only allows each header to occur once. */
if (g_hash_table_lookup_extended (medium->headers, header_name,
&old_name, &old_value)) {
- g_hash_table_remove (medium->headers, old_header_name);
+ g_hash_table_remove (medium->headers, old_name);
g_free (old_name);
g_free (old_value);
}