mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:03:36 +03:00
parent
ddecd28268
commit
26a7d51c21
7 changed files with 18 additions and 11 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -113,7 +113,7 @@ CURLcode easysrc_addf(struct slist_wc **plist, const char *fmt, ...)
|
|||
va_start(ap, fmt);
|
||||
bufp = curlx_mvaprintf(fmt, ap);
|
||||
va_end(ap);
|
||||
if(! bufp) {
|
||||
if(!bufp) {
|
||||
ret = CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ static char *c_escape(const char *str, curl_off_t len)
|
|||
strcpy(e, "\\\"");
|
||||
e += 2;
|
||||
}
|
||||
else if(! isprint(c)) {
|
||||
else if(!isprint(c)) {
|
||||
msnprintf(e, 5, "\\x%02x", (unsigned)c);
|
||||
e += 4;
|
||||
}
|
||||
|
|
@ -299,7 +299,7 @@ CURLcode tool_setopt_enum(CURL *curl, struct GlobalConfig *config,
|
|||
if(nv->value == lval)
|
||||
break; /* found it */
|
||||
}
|
||||
if(! nv->name) {
|
||||
if(!nv->name) {
|
||||
/* If no definition was found, output an explicit value.
|
||||
* This could happen if new values are defined and used
|
||||
* but the NameValue list is not updated. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue