]> git.proxmox.com Git - mirror_kronosnet.git/commit
flush_logs: remove redundant condition
authorFerenc Wágner <wferi@debian.org>
Mon, 23 Apr 2018 13:53:33 +0000 (15:53 +0200)
committerFabio M. Di Nitto <fdinitto@redhat.com>
Thu, 26 Apr 2018 06:48:07 +0000 (08:48 +0200)
commiteb8e6cc88f08916fcb3918e58ae2f894d00cd8b0
treef4a8d2da538c51f13ec7103712903296d662fa67
parentf9c0a59e1ab92598bf80c073c1cfcb9fea3b398f
flush_logs: remove redundant condition

The read loop is always entered, resetting len and returning from the
function if it isn't greater than 0.

Signed-off-by: Ferenc Wágner <wferi@debian.org>
libknet/tests/test-common.c