aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--libsylph/procmime.c10
3 files changed, 15 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index bab58139..cc59903e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-15
+
+ * libsylph/procmime.c: procmime_parse_mime_parameter(): modified
+ variable name.
+
2008-12-11
* libsylph/mbox.c
diff --git a/ChangeLog.ja b/ChangeLog.ja
index d19b015b..03c660c9 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2008-12-15
+
+ * libsylph/procmime.c: procmime_parse_mime_parameter(): 変数名を
+ 修正。
+
2008-12-11
* libsylph/mbox.c
diff --git a/libsylph/procmime.c b/libsylph/procmime.c
index 10fc20e3..fbd4e382 100644
--- a/libsylph/procmime.c
+++ b/libsylph/procmime.c
@@ -465,7 +465,7 @@ static gchar *procmime_convert_value(const gchar *value, const gchar *charset)
static MimeParams *procmime_parse_mime_parameter(const gchar *str)
{
ConvADType ad_type;
- gchar *tmp = NULL;
+ gchar *tmp_param = NULL;
gchar *hvalue;
gchar *param, *name, *value;
gchar *charset = NULL, *lang = NULL;
@@ -499,8 +499,8 @@ static MimeParams *procmime_parse_mime_parameter(const gchar *str)
strstr(p, "\033$") != NULL) {
CodeConvFunc conv_func;
conv_func = conv_get_code_conv_func(NULL, NULL);
- tmp = conv_func(p, NULL);
- p = tmp;
+ tmp_param = conv_func(p, NULL);
+ p = tmp_param;
debug_print("procmime_parse_mime_parameter(): raw-JIS header body detected: %s\n", str);
}
@@ -677,8 +677,8 @@ static MimeParams *procmime_parse_mime_parameter(const gchar *str)
g_free(cont_value);
g_free(lang);
g_free(charset);
- if (tmp)
- g_free(tmp);
+ if (tmp_param)
+ g_free(tmp_param);
plist = g_slist_reverse(plist);
mparams->plist = plist;