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.
Loading
To properly store priority in passed in pointer and return 0 for success. Also add a test for verifying that it works correctly.