mirror of
https://github.com/curl/curl.git
synced 2026-05-30 14:57:32 +03:00
ftp: Mark a const buffer as const
This commit is contained in:
parent
dff74ae8bb
commit
ddb87160f5
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ static CURLcode ftp_cw_lc_write(struct Curl_easy *data,
|
|||
struct Curl_cwriter *writer, int type,
|
||||
const char *buf, size_t blen)
|
||||
{
|
||||
static char nl = '\n';
|
||||
static const char nl = '\n';
|
||||
struct ftp_cw_lc_ctx *ctx = (struct ftp_cw_lc_ctx *)writer;
|
||||
|
||||
if(!(type & CLIENTWRITE_BODY) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue