aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-12-15 06:49:06 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-12-15 06:49:06 +0000
commit46f843473a4a305b94740c689ddc942c798e740d (patch)
treed274bf4da3b2ca34a8c86617cba848c6531567be
parent358bdde38b08a9f7b930b8a859d7e32962837e09 (diff)
modified variable name.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2093 ee746299-78ed-0310-b773-934348b2243d
-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;