curl/src
Daniel Gustafsson 79bf349a50 tool_getparam: simplify conditional statement
param_place cannot be NULL here since we immediately efter this block
perform arithmetic on it (and use it in order to get here) so there is
little reason to check.

Closes: #8786
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
2022-05-02 14:04:59 +02:00
..
macos copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
.gitignore VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
CMakeLists.txt copyright: update copyright year ranges to 2021 2021-05-26 08:18:11 +02:00
curl.rc copyright: fix year ranges 2020-11-05 08:22:10 +01:00
Makefile.am scripts: move three scripts from lib/ to scripts/ 2022-03-23 15:26:11 +01:00
makefile.amiga curl.se: new home 2020-11-04 23:59:47 +01:00
makefile.dj copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
Makefile.inc timediff.[ch]: add curlx helper functions for timeval conversions 2022-04-17 13:11:27 +02:00
Makefile.m32 Makefile.m32: rename -winssl option to -schannel and tidy up 2021-11-25 17:36:38 +00:00
mkhelp.pl copyright: fix year ranges 2020-11-05 08:22:10 +01:00
slist_wc.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
slist_wc.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_binmode.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_binmode.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_bname.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_bname.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_dbg.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
tool_cb_dbg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_hdr.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
tool_cb_hdr.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_prg.c tool_cb_prg: make resumed upload progress bar show better 2021-09-27 23:17:44 +02:00
tool_cb_prg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_rea.c docs/examples: adjust prototypes for CURLOPT_READFUNCTION 2020-12-30 22:20:24 +01:00
tool_cb_rea.h docs/examples: adjust prototypes for CURLOPT_READFUNCTION 2020-12-30 22:20:24 +01:00
tool_cb_see.c [PellesC] fix _lseeki64() macro 2021-07-16 07:32:06 +02:00
tool_cb_see.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_wrt.c curl: free resource in error path 2022-04-30 21:25:15 +02:00
tool_cb_wrt.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cfgable.c curl: add --no-clobber 2022-03-11 08:38:01 +01:00
tool_cfgable.h English: use American spelling consistently 2022-04-05 14:55:47 +02:00
tool_dirhie.c checksrc: detect more kinds of NULL comparisons we avoid 2021-12-27 23:39:26 +01:00
tool_dirhie.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_doswin.c misc: update copyright year ranges 2022-04-25 09:31:09 +02:00
tool_doswin.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_easysrc.c English: use American spelling consistently 2022-04-05 14:55:47 +02:00
tool_easysrc.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_filetime.c Revert "src/tool_filetime: disable -Wformat on mingw for this file" 2021-11-03 08:44:41 +01:00
tool_filetime.h curl: move fprintf outputs to warnf 2021-01-27 08:45:02 +01:00
tool_findfile.c tool_findfile: free mem properly 2022-01-07 16:39:19 +01:00
tool_findfile.h tool_findfile: check ~/.config/curlrc too 2022-01-07 10:10:49 +01:00
tool_formparse.c tool_paramhlp: use feof(3) to identify EOF correctly when using fread(3) 2022-04-17 11:36:28 +02:00
tool_formparse.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_getparam.c tool_getparam: simplify conditional statement 2022-05-02 14:04:59 +02:00
tool_getparam.h tool_paramhlp: use feof(3) to identify EOF correctly when using fread(3) 2022-04-17 11:36:28 +02:00
tool_getpass.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_getpass.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_help.c curl: add --no-clobber 2022-03-11 08:38:01 +01:00
tool_help.h tool_listhelp: easier to generate with gen.pl 2021-09-30 17:50:48 +02:00
tool_helpers.c tool_paramhlp: use feof(3) to identify EOF correctly when using fread(3) 2022-04-17 11:36:28 +02:00
tool_helpers.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_hugehelp.c.cvs curl.se: new home 2020-11-04 23:59:47 +01:00
tool_hugehelp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_libinfo.c tool_operate: only set SSH related libcurl options for SSH URLs 2021-11-21 23:12:48 +01:00
tool_libinfo.h tool_operate: only set SSH related libcurl options for SSH URLs 2021-11-21 23:12:48 +01:00
tool_listhelp.c fail.d: tweak the description 2022-04-15 23:50:35 +02:00
tool_main.c tool and tests: force flush of all buffers at end of program 2022-03-13 13:29:28 +01:00
tool_main.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_msgs.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_msgs.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_operate.c tool_paramhlp: use feof(3) to identify EOF correctly when using fread(3) 2022-04-17 11:36:28 +02:00
tool_operate.h curl: remove "separators" (when using globbed URLs) 2022-01-15 23:41:28 +01:00
tool_operhlp.c lib: remove support for CURL_DOES_CONVERSIONS 2022-02-04 08:05:35 +01:00
tool_operhlp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_panykey.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_panykey.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_paramhlp.c tool_paramhlp: use feof(3) to identify EOF correctly when using fread(3) 2022-04-17 11:36:28 +02:00
tool_paramhlp.h curl: add --create-file-mode [mode] 2020-12-21 10:52:41 +01:00
tool_parsecfg.c tool_findfile: check ~/.config/curlrc too 2022-01-07 10:10:49 +01:00
tool_parsecfg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_progress.c tool_operate: Fix --fail-early with parallel transfers 2021-08-17 03:21:29 -04:00
tool_progress.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_sdecls.h curl: error out if -T and -d are used for the same URL 2022-04-17 11:18:17 +02:00
tool_setopt.c c_escape: escape '?' in generated --libcurl code 2022-04-25 00:29:22 +02:00
tool_setopt.h curl: error out when options need features not present in libcurl 2022-03-10 08:30:45 +01:00
tool_setup.h TPF: drop support 2022-02-04 08:05:35 +01:00
tool_sleep.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_sleep.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_strdup.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_strdup.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_urlglob.c curl: fix segmentation fault for empty output file names. 2022-03-28 09:39:09 +02:00
tool_urlglob.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_util.c misc: update incorrect copyright year ranges 2021-08-16 11:21:47 +02:00
tool_util.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_version.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_vms.c cleanup: constify unmodified static structs 2021-09-23 12:54:35 +02:00
tool_vms.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_writeout_json.c curl/header_json: output the header names in lowercase 2022-03-25 11:24:27 +01:00
tool_writeout_json.h curl/header_json: output the header names in lowercase 2022-03-25 11:24:27 +01:00
tool_writeout.c curl/header_json: output the header names in lowercase 2022-03-25 11:24:27 +01:00
tool_writeout.h curl: add %{header_json} support in -w handling 2022-03-22 08:24:25 +01:00
tool_xattr.c checksrc: detect more kinds of NULL comparisons we avoid 2021-12-27 23:39:26 +01:00
tool_xattr.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00