Nice bit of refactoring #1

Merged
Jef Roosens merged 9 commits from fix-segfaults into main 2023-01-05 16:58:20 +01:00
Showing only changes of commit 0743085bac - Show all commits

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
}