]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Simplify i9e_line_handler.
authorAndre Noll <maan@systemlinux.org>
Tue, 2 Apr 2013 14:30:06 +0000 (14:30 +0000)
committerAndre Noll <maan@systemlinux.org>
Sat, 8 Jun 2013 12:31:01 +0000 (14:31 +0200)
The line handlers of all three users of the i9e API (play, client
and audioc) return immediately if the passed line is NULL or the
empty string. Hence we may call the line handler only if there is a
non-empty line to dispatch.

Moving the check for a non-empty line to generic i9e code simplifies
the three line handlers a bit and avoids code duplication.


No differences found