1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 05:25:06 -05:00
curl/src
Marcel Raad d110d96b98
tool_cb_wrt: fix bad-function-cast warning
Commit f5bc578f4c reintroduced the
warning fixed in commit 2f5f31bb57.
Extend fhnd's scope and reuse that variable instead of calling
_get_osfhandle a second time to fix the warning again.

Closes https://github.com/curl/curl/pull/3718
2019-04-02 13:14:57 +02:00
..
macos docs/comments: Update to secure URL versions 2017-08-08 21:41:07 +02:00
.gitignore VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
CMakeLists.txt curl: remove MANUAL from -M output 2019-02-20 08:20:27 +01:00
curl.rc (lib)curl.rc: fixup for minor bugs 2018-12-10 00:10:04 +01:00
Makefile.am makefile: make checksrc and hugefile commands "silent" 2019-03-14 20:11:24 +01:00
makefile.amiga whitespace fixes 2018-09-23 22:24:02 +00:00
makefile.dj whitespace fixes 2018-09-23 22:24:02 +00:00
Makefile.inc whitespace fixes 2018-09-23 22:24:02 +00:00
Makefile.m32 whitespace fixes 2018-09-23 22:24:02 +00:00
Makefile.netware axtls: removed 2018-11-01 10:29:53 +01:00
Makefile.Watcom s/cURL/curl 2016-11-07 10:36:23 +01:00
mkhelp.pl curl: remove MANUAL from -M output 2019-02-20 08:20:27 +01:00
slist_wc.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
slist_wc.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_binmode.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_binmode.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_bname.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_bname.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_dbg.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
tool_cb_dbg.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_hdr.c curl -J: do not append to the destination file 2018-12-19 08:44:02 +01:00
tool_cb_hdr.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_prg.c tool_cb_prg: avoid integer overflow 2019-01-11 09:03:43 +01:00
tool_cb_prg.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_rea.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_rea.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_see.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_see.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_wrt.c tool_cb_wrt: fix bad-function-cast warning 2019-04-02 13:14:57 +02:00
tool_cb_wrt.h curl -J: do not append to the destination file 2018-12-19 08:44:02 +01:00
tool_cfgable.c alt-svc: the curl command line bits 2019-03-03 11:17:52 +01:00
tool_cfgable.h alt-svc: the curl command line bits 2019-03-03 11:17:52 +01:00
tool_convert.c cli tool: refactor encoding conversion sequence for switch case fallthrough. 2019-02-16 02:04:24 +01:00
tool_convert.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_dirhie.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
tool_dirhie.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_doswin.c schannel: stop calling it "winssl" 2019-02-01 08:20:38 +01:00
tool_doswin.h tool: add undocumented option --dump-module-paths for win32 2018-11-06 03:15:44 -05:00
tool_easysrc.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
tool_easysrc.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_filetime.c time-cond: fix reading the file modification time on Windows 2018-02-05 22:02:10 +01:00
tool_filetime.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_formparse.c cli tool: fix mime post with --disable-libcurl-option configure option 2019-02-19 17:08:58 +01:00
tool_formparse.h cli tool: fix mime post with --disable-libcurl-option configure option 2019-02-19 17:08:58 +01:00
tool_getparam.c alt-svc: the curl command line bits 2019-03-03 11:17:52 +01:00
tool_getparam.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_getpass.c tool_getpass: termios.h is present on AmigaOS 3, but no tcgetattr/tcsetattr 2019-03-15 10:22:42 +01:00
tool_getpass.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
tool_help.c tool_help: include <strings.h> for strcasecmp 2019-04-01 00:19:10 +02:00
tool_help.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_helpers.c curl: detect and bail out early on parameter integer overflows 2017-08-07 09:38:45 +02:00
tool_helpers.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_homedir.c tool: fix Windows Unicode build 2017-04-04 23:04:29 +02:00
tool_homedir.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_hugehelp.c.cvs tests: checksrc compliance 2016-12-19 02:31:59 -05:00
tool_hugehelp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_libinfo.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_libinfo.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_main.c memdebug: make debug-specific functions use curl_dbg_ prefix 2019-03-08 23:21:21 +01:00
tool_main.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_metalink.c GCC: silence -Wcast-function-type uniformly 2018-08-11 19:19:04 +02:00
tool_metalink.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_msgs.c voutf: fix bad arethmetic when outputting warnings to stderr 2018-10-30 07:47:25 +01:00
tool_msgs.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_operate.c tool_operate: build on AmigaOS 2019-03-15 10:16:33 +01:00
tool_operate.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_operhlp.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
tool_operhlp.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_panykey.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_panykey.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_paramhlp.c printf: fix format specifiers 2019-01-04 23:50:48 +01:00
tool_paramhlp.h curl: detect and bail out early on parameter integer overflows 2017-08-07 09:38:45 +02:00
tool_parsecfg.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
tool_parsecfg.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_sdecls.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_setopt.c cli tool: fix mime post with --disable-libcurl-option configure option 2019-02-19 17:08:58 +01:00
tool_setopt.h cli tool: fix mime post with --disable-libcurl-option configure option 2019-02-19 17:08:58 +01:00
tool_setup.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_sleep.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_sleep.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_strdup.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
tool_strdup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_urlglob.c urlglob: Argument with 'nonnull' attribute passed null 2019-02-13 08:06:34 +01:00
tool_urlglob.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_util.c tvnow: silence conversion warnings 2019-01-01 18:04:24 +01:00
tool_util.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_version.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_vms.c whitespace fixes 2018-09-23 22:24:02 +00:00
tool_vms.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_writeout.c curl: correct the switch() logic in ourWriteOut 2018-11-07 11:15:20 +01:00
tool_writeout.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_xattr.c curl: follow-up to 3f16990ec8 2019-02-11 14:22:36 +01:00
tool_xattr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00