aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-medium.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-03-28 08:13:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-03-28 08:13:46 +0800
commit777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d (patch)
tree5b5cbf19fed8612dc04067bcf39d8896181d410c /camel/camel-medium.c
parentce898884dcd53eb2f98b56c4ffcd678c72b24eaf (diff)
downloadgsoc2013-evolution-777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d.tar.gz
gsoc2013-evolution-777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d.tar.zst
gsoc2013-evolution-777f8cf10f5c50235cb0c1c7f842fd2e22cfeb4d.zip
remove unused var.
2003-03-28 Not Zed <NotZed@Ximian.com> * providers/local/camel-spool-store.c (get_folder): remove unused var. * providers/imap/camel-imap-utils.c (imap_parse_list_response): moved an unused var to the #if 0'd out block. * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): remove unused vars. * camel-index-control.c (main): deifne camel_init() before using it. * camel-vee-store.c (vee_get_folder): removed unused var. * camel-stream-mem.c (stream_write): warning -> fixme. * camel-stream-filter.c (_CamelStreamFilterPrivate): Add a ; to the end of the struct definition. * camel-store.c (camel_store_delete_folder): remove unused var. (camel_store_rename_folder): " (camel_store_unsubscribe_folder): " * camel-mime-part.c (write_to_stream): Changed warning into a TODO. (construct_from_parser): removed warning, the code was fixed. * camel-mime-message.c (construct_from_parser): Remove the warning, the code was fixed. * camel-mime-filter-enriched.c (camel_mime_filter_enriched_new): Remove unused var. * camel-medium.c (camel_medium_get_header): Removed warning, and changed docs to reflect it. * camel-gpg-context.c (gpg_ctx_parse_status): handle MODE_EXPORT as a noop (warning). * camel-folder.c (get_message_user_tag): changed a warning into a fixme (its not that important). (camel_folder_get_message_user_tag): " * camel-data-cache.c (data_cache_finalise): removed unused vars. (data_cache_expire): " svn path=/trunk/; revision=20556
Diffstat (limited to 'camel/camel-medium.c')
-rw-r--r--camel/camel-medium.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/camel/camel-medium.c b/camel/camel-medium.c
index afa685326d..64814eda5e 100644
--- a/camel/camel-medium.c
+++ b/camel/camel-medium.c
@@ -217,7 +217,9 @@ get_header(CamelMedium *medium, const char *header_name)
* Returns the value of the named header in the medium, or %NULL if
* it is unset. The caller should not modify or free the data.
*
- * FIXME: What if the header occurs more than once?
+ * If the header occurs more than once, only retrieve the first
+ * instance of the header. For multi-occuring headers, use
+ * :get_headers().
*
* Return value: the value of the named header, or %NULL
**/
@@ -227,10 +229,6 @@ camel_medium_get_header(CamelMedium *medium, const char *header_name)
g_return_val_if_fail (CAMEL_IS_MEDIUM (medium), NULL);
g_return_val_if_fail (header_name != NULL, NULL);
-#ifndef NO_WARNINGS
-#warning No way to get multi-valued headers?
-#endif
-
return CM_CLASS (medium)->get_header (medium, header_name);
}