aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gmime-utils.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-02-29 21:07:19 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-29 21:07:19 +0800
commit57bf3cc473c15d3f630aa8fde4ea52e083c5bdc6 (patch)
tree747801f07058d525d39ddbf53546de295e4a001f /camel/gmime-utils.c
parent5668df1f78956739fc09a8e55f2219ce429fa64e (diff)
downloadgsoc2013-evolution-57bf3cc473c15d3f630aa8fde4ea52e083c5bdc6.tar.gz
gsoc2013-evolution-57bf3cc473c15d3f630aa8fde4ea52e083c5bdc6.tar.zst
gsoc2013-evolution-57bf3cc473c15d3f630aa8fde4ea52e083c5bdc6.zip
revert strange changes.
2000-02-29 bertrand <bertrand@helixcode.com> * gmime-utils.c (_store_header_pair_from_string): revert strange changes. * camel-stream-b64.c (my_read_decode): set eos to true when we have read the whole input stream. (my_reset): set eos to FALSE. svn path=/trunk/; revision=1988
Diffstat (limited to 'camel/gmime-utils.c')
-rw-r--r--camel/gmime-utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/camel/gmime-utils.c b/camel/gmime-utils.c
index d903eb8a71..01d35772ed 100644
--- a/camel/gmime-utils.c
+++ b/camel/gmime-utils.c
@@ -130,13 +130,14 @@ _store_header_pair_from_string (GArray *header_array, gchar *header_line)
if (header_line) {
+#if 0
char *p = strchr(header_line, ':');
if (p) {
header.name = g_strndup(header_line, p-header_line);
header.value = g_strdup(p+1);
g_array_append_val (header_array, header);
}
-#if 0
+#endif
dich_result = string_dichotomy ( header_line, ':',
&header_name, &header_value,
STRING_DICHOTOMY_NONE);
@@ -159,7 +160,7 @@ _store_header_pair_from_string (GArray *header_array, gchar *header_line)
header.value = header_value;
g_array_append_val (header_array, header);
}
-#endif
+
}
CAMEL_LOG_FULL_DEBUG ( "_store_header_pair_from_string:: Leaving\n");