mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:33:31 +03:00
tests: constify, make consts static
- lib509: constify an input string. - add `static` to const data, where missing. - tool1394: fix indentation. Closes #17736
This commit is contained in:
parent
db512ee267
commit
1ec0da0149
14 changed files with 33 additions and 32 deletions
|
|
@ -42,8 +42,9 @@ static CURLcode test_lib505(char *URL)
|
|||
struct curl_slist *hl;
|
||||
|
||||
struct curl_slist *headerlist = NULL;
|
||||
const char *buf_1 = "RNFR 505";
|
||||
const char *buf_2 = "RNTO 505-forreal";
|
||||
|
||||
static const char *buf_1 = "RNFR 505";
|
||||
static const char *buf_2 = "RNTO 505-forreal";
|
||||
|
||||
if(!libtest_arg2) {
|
||||
curl_mfprintf(stderr, "Usage: <url> <file-to-upload>\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue