diff options
author | Jeff King <peff@peff.net> | 2013-09-28 04:31:11 -0400 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2013-09-30 13:04:45 -0700 |
commit | 132b70a2ed6d952e8142981474b41884ff93b780 (patch) | |
tree | 146fd3bf421de4fdf66c3fcadbcb19b264f3b44f /http-push.c | |
parent | 3d1fb769b26dbf278a0ef0cf7427aac86a161bb0 (diff) | |
download | git-132b70a2ed6d952e8142981474b41884ff93b780.tar.gz |
http_request: factor out curlinfo_strbuf
When we retrieve the content-type of an http response, curl
gives us a pointer to internal storage, which we then copy
into a strbuf. Let's factor out the get-and-copy routine,
which can be used for getting other curl info.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions