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.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);
}