diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-07-13 18:35:34 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-07-14 15:43:10 +0200 |
commit | 14c0e53eed4bd0c090e7ed2ebad41335d323c86c (patch) | |
tree | f7b56bb46e766720a3038fda6f4402eab22745f9 /.ycm_extra_conf.py | |
parent | 1fd95939dbee071f4d7fb30e19c5b3cb22969113 (diff) | |
download | pacman-14c0e53eed4bd0c090e7ed2ebad41335d323c86c.tar.gz pacman-14c0e53eed4bd0c090e7ed2ebad41335d323c86c.tar.xz |
Check that destfile_name exists before using it
In some cases (when trust_remote_name is used for a URL without a filename and
no Content-Disposition is provided by the server) destfile_name will be
NULL. In this case payload data will be stored in tempfile_name and no
destfile_name is set.
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to '.ycm_extra_conf.py')
0 files changed, 0 insertions, 0 deletions