1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

Fix segfault in headerCallback()

https://hydra.nixos.org/build/168594664
This commit is contained in:
Eelco Dolstra 2022-03-03 11:11:16 +01:00
parent 885d709393
commit 6097790863
4 changed files with 7 additions and 7 deletions

View file

@ -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 {