mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
libfetch: Fix -Wunterminated-string-initialization
This defaults to an error in clang HEAD, use a char-by-char initializer instead. Reviewed by: emaste, jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D52532
This commit is contained in:
parent
4cfc7de13f
commit
79f578531f
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ static struct fetcherr socks5_errlist[] = {
|
|||
};
|
||||
|
||||
/* End-of-Line */
|
||||
static const char ENDL[2] = "\r\n";
|
||||
static const char ENDL[2] = { '\r', '\n' };
|
||||
|
||||
|
||||
/*** Error-reporting functions ***********************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue