diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-03 11:11:16 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-03 11:11:16 +0100 |
commit | 609779086301a600f4282a629d586bba6b6a485c (patch) | |
tree | 0f29dd18b05d3c75cb9b5f6f94d7b3807aeea087 /src/libstore/filetransfer.cc | |
parent | 885d709393caabd346299c6d6ec8ea57b8a11628 (diff) |
Fix segfault in headerCallback()
https://hydra.nixos.org/build/168594664
Diffstat (limited to 'src/libstore/filetransfer.cc')
-rw-r--r-- | src/libstore/filetransfer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/filetransfer.cc b/src/libstore/filetransfer.cc index 255b42c49..c46262299 100644 --- a/src/libstore/filetransfer.cc +++ b/src/libstore/filetransfer.cc @@ -197,7 +197,7 @@ struct curlFileTransfer : public FileTransfer result.etag = ""; result.data.clear(); result.bodySize = 0; - statusMsg = trim((std::string &) match[1]); + statusMsg = trim(match.str(1)); acceptRanges = false; encoding = ""; } else { |