chiark / gitweb /
sd-event: fix sd_event_source_get_priority() (#4712)
authorMartin Ejdestig <marejde@gmail.com>
Tue, 22 Nov 2016 00:21:00 +0000 (01:21 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commit971e2488dda5dbdfddc29adabc9a10590b084ba5
tree3ddc5ae31787f7aed1387621e7a499b2a0899e3c
parentd541b31cc867960110c5fb974ecc1b2f78299196
sd-event: fix sd_event_source_get_priority() (#4712)

To properly store priority in passed in pointer and return 0 for success.
Also add a test for verifying that it works correctly.
src/libelogind/sd-event/sd-event.c