Fix buffer_inflate() Z_BUF_ERROR handling
Fix buffer_inflate() Z_BUF_ERROR handling

The zlib documentation states that:

  [...] Z_BUF_ERROR is not fatal, and inflate() can be called again
  with more input and more output space to continue decompressing.

Signed-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>

mstanichenko/libtrading,NunoEdgarGub1/libtrading,fengzhyuan/libtrading,femtotrader/libtrading,etoestja/libtrading,svdev/libtrading,penberg/libtrading,divaykin/libtrading,penberg/libtrading,svdev/libtrading,fengzhyuan/libtrading,Bitcoinsulting/libtrading,NunoEdgarGub1/libtrading,mstanichenko/libtrading,libtrading/libtrading,jvirtanen/libtrading,femtotrader/libtrading,divaykin/libtrading,jvirtanen/libtrading,Bitcoinsulting/libtrading,etoestja/libtrading,libtrading/libtrading