From 26b7f4e979561aa1f17d6719fc1dad91e1a5d1b4 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 27 Mar 2024 16:04:05 +0300 Subject: libcurl: update to 8.7.1 --- libs/libcurl/src/curl_get_line.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libs/libcurl/src/curl_get_line.h') diff --git a/libs/libcurl/src/curl_get_line.h b/libs/libcurl/src/curl_get_line.h index cb2160f00e..9b8c0d8410 100644 --- a/libs/libcurl/src/curl_get_line.h +++ b/libs/libcurl/src/curl_get_line.h @@ -24,8 +24,9 @@ * ***************************************************************************/ -/* get_line() makes sure to only return complete whole lines that fit in 'len' - * bytes and end with a newline. */ -char *Curl_get_line(char *buf, int len, FILE *input); +#include "dynbuf.h" + +/* Curl_get_line() returns complete lines that end with a newline. */ +int Curl_get_line(struct dynbuf *buf, FILE *input); #endif /* HEADER_CURL_GET_LINE_H */ -- cgit v1.2.3