]> git.ipfire.org Git - thirdparty/shairport-sync.git/commit
Fixed loop condition in non_blocking_write() 611/head
authorBelbo <belbo@gmx.de>
Tue, 15 Aug 2017 19:51:47 +0000 (21:51 +0200)
committerBelbo <belbo@gmx.de>
Tue, 31 Oct 2017 22:19:22 +0000 (23:19 +0100)
commit3e54765193083926873b55172db0282a2ff3eeee
tree175c05ff2f96e111b3971037145996175c659944
parentafa3238829e0d2532e575e7c080e11a9638dd6d9
Fixed loop condition in non_blocking_write()

The while loop should be repeated, if the last write attempt was a partial write only. In this case, however, rc is greater than 0 (should be 1), not equal to 0.
common.c