refactor: final reread
ci/woodpecker/push/lint Pipeline failed Details

fix-segfaults
Jef Roosens 2023-01-05 16:57:55 +01:00
parent ea8e49d55f
commit 0743085bac
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ fn (mut d DockerConn) read_response_body() ! {
content_length := d.head.header.get(.content_length)!.int()
if content_length == 0 {
d.body = ''
return
}