cli: simplify mime node walk
authorJani Nikula <jani@nikula.org>
Fri, 6 Jan 2017 20:14:49 +0000 (22:14 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 10 Mar 2017 11:55:15 +0000 (07:55 -0400)
commit069362ee10d0af108c7d0a275bda1a78c4a49f27
treed9fa99e41eb2a468dff4528d9cb109cdf31843bc
parent84813729566e37fb2ccdff58cdba635b7a90ba0d
cli: simplify mime node walk

The function is more straighforward to read when it's clear that the
only non-NULL return is at one place. No functional changes.
mime-node.c