]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix for doxygen and lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 8 Feb 2018 10:00:10 +0000 (10:00 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 8 Feb 2018 10:00:10 +0000 (10:00 +0000)
git-svn-id: file:///svn/unbound/trunk@4518 be551aaa-1e26-0410-a405-d3ace91eadb9

util/netevent.c

index 6c4d670266c7dc6cf4696929ef0593b221297b49..d537e13d240d0929c709cc4a40cc9748818f3c37 100644 (file)
@@ -1710,7 +1710,7 @@ http_header_done(sldns_buffer* buf)
 }
 
 /** return character string into buffer for header line, moves buffer
- * past that line and puts zero terminator (into \r\n) */
+ * past that line and puts zero terminator into linefeed-newline */
 static char*
 http_header_line(sldns_buffer* buf)
 {
@@ -1885,7 +1885,7 @@ http_chunked_segment(struct comm_point* c)
                /* save too much info into temp buffer */
                size_t fraglen;
                struct comm_reply repinfo;
-               sldns_buffer_skip(c->buffer, c->tcp_byte_count);
+               sldns_buffer_skip(c->buffer, (ssize_t)c->tcp_byte_count);
                c->tcp_byte_count = 0;
                sldns_buffer_clear(c->http_temp);
                sldns_buffer_write(c->http_temp,