diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-10-02 10:58:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-10-02 16:35:53 +0200 |
commit | 26a7d51c21bce00e332bbd10443594edb879a871 (patch) | |
tree | d10c7901ebd1a7133f66bbd4e5a49e1120b1b6af /src/tool_easysrc.c | |
parent | ddecd28268b78ae3361bc010c719446d55a8f894 (diff) | |
download | curl-26a7d51c21bce00e332bbd10443594edb879a871.tar.gz |
checksrc: warn on space after exclamation mark
Closes #6034
Diffstat (limited to 'src/tool_easysrc.c')
-rw-r--r-- | src/tool_easysrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c index bb1a135d8..7343f7d15 100644 --- a/src/tool_easysrc.c +++ b/src/tool_easysrc.c @@ -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 { |