summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-04-25 10:11:33 +0100
committerPhilip Withnall <withnall@endlessm.com>2017-04-25 10:11:33 +0100
commit2f103bc9480b6716ef6755e8b288188950059508 (patch)
tree86ad7f84613038dbd121c810120030767fbfb7bb
parentc829641668d893d0136993dcc6d7e1d661dd6e39 (diff)
downloadlibsoup-2f103bc9480b6716ef6755e8b288188950059508.tar.gz
soup-message-headers: Add a missing (optional) annotation
The total_length argument of soup_message_headers_get_content_range() is optional. Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r--libsoup/soup-message-headers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
index 6ad554b7..a180c6ee 100644
--- a/libsoup/soup-message-headers.c
+++ b/libsoup/soup-message-headers.c
@@ -1171,8 +1171,8 @@ soup_message_headers_set_range (SoupMessageHeaders *hdrs,
* @hdrs: a #SoupMessageHeaders
* @start: (out): return value for the start of the range
* @end: (out): return value for the end of the range
- * @total_length: (out): return value for the total length of the resource,
- * or %NULL if you don't care.
+ * @total_length: (out) (optional): return value for the total length of the
+ * resource, or %NULL if you don't care.
*
* Parses @hdrs's Content-Range header and returns it in @start,
* @end, and @total_length. If the total length field in the header