oh, and some more in common/

svn:r2483
This commit is contained in:
Roger Dingledine
2004-10-14 02:48:57 +00:00
parent aebc3a03ba
commit 5f4a390b33
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1650,7 +1650,7 @@ char *read_file_to_str(const char *filename, int bin) {
* that is whitespace or comment.
* Return 1 if success, 0 if no more lines, -1 if error.
*/
int parse_line_from_file(char *line, int maxlen, FILE *f, char **key_out, char **value_out) {
int parse_line_from_file(char *line, size_t maxlen, FILE *f, char **key_out, char **value_out) {
char *s, *key, *end, *value;
try_next_line: