event-loop: fix returning the destroy-signal listener
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 23 Jan 2013 13:11:19 +0000 (14:11 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Jan 2013 21:14:33 +0000 (16:14 -0500)
commit142aa4a1197f6d4c8a7963dcc762e3d881d249fc
treea748de83b0bfa7c80765be0946cd1be46f438edf
parent2423497b999c999528a7d2380a13fcb3e3412d0a
event-loop: fix returning the destroy-signal listener

We need to actually return the destroy-listener, otherwise the return
value is undefined.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/event-loop.c