Added missing condition
Added missing condition

Without this the algorithm always fails, as at some point we reach the end of
the stream and hit the Z_STREAM_END value. But this return value is not an
error, just a special OK situation.

lovasko/libctf,lovasko/libctf