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

services/authzone.c
sldns/str2wire.h

index 3eee9c353188ec74eb3b28a817441227d3cd1f17..3dbcb4f09dfc94d20a84861e23388241cab990f5 100644 (file)
@@ -3612,7 +3612,7 @@ chunkline_get_line(struct auth_chunk** chunk, size_t* chunk_pos,
                                                "line too long");
                                        return 0;
                                }
-                               sldns_buffer_write_u8(buf, c);
+                               sldns_buffer_write_u8(buf, (uint8_t)c);
                                if(c == '\n') {
                                        /* we are done */
                                        return 1;
index 2877adcf200a0c045853fc526a7c04675b2ef457..70070e4f57525e4f91fcd3fbba7e498427029e82 100644 (file)
@@ -555,7 +555,7 @@ int sldns_str2wire_hip_buf(const char* str, uint8_t* rd, size_t* len);
 int sldns_str2wire_int16_data_buf(const char* str, uint8_t* rd, size_t* len);
 
 /**
- * Strip whitespace from the start and the end of <line>.
+ * Strip whitespace from the start and the end of line.
  * @param line: modified with 0 to shorten it.
  * @return new start with spaces skipped.
  */