summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2017-11-07 17:27:22 -0500
committerJeff Cody <jcody@redhat.com>2017-12-18 15:42:07 -0500
commit2d25964d1831c99d54981e8b615eba5dd6a63e36 (patch)
tree3d9923135efc03c32075b55362d773e44fe900a4 /COPYING
parentd507c5f682d23a60a356a081557ceb34ea0d2669 (diff)
downloadqemu-2d25964d1831c99d54981e8b615eba5dd6a63e36.tar.gz
block/curl: check error return of curl_global_init()
If curl_global_init() fails, per the documentation no other curl functions may be called, so make sure to check the return value. Also, some minor changes to the initialization latch variable 'inited': - Make it static in the file, for clarity - Change the name for clarity - Make it a bool Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com> Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions