util: modernize loop_read() and loop_write() a bit
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Jan 2014 12:06:44 +0000 (13:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Jan 2014 12:06:44 +0000 (13:06 +0100)
commit7d5dd5e0cf2f0f2af39d72b1ee65651731bf0129
tree1013785b7959c08208e9d2447a52f608bffd9611
parent69727e6dc69ae5d9b5ae3681723778a3faa354e9
util: modernize loop_read() and loop_write() a bit

Let's make use of fd_wait_for_event() here, instead of rolling our own.
src/shared/util.c