subscriptions: DRY removal for allowed event check
commit73876d41da2e9520ab48bc334f7c1f86792c2f43
authorStefan Becker <chemobejk@gmail.com>
Mon, 8 Apr 2013 20:21:41 +0000 (8 23:21 +0300)
committerStefan Becker <chemobejk@gmail.com>
Mon, 8 Apr 2013 20:21:41 +0000 (8 23:21 +0300)
tree0a35058e1ff5fce4374872716a02952505feac8f
parent152c003863d41a6ac9e62fd0e35429be97b62f28
subscriptions: DRY removal for allowed event check

Factor out the common g_slist_find_custom() call to one new
sipe-subscription function.
src/core/sip-transport.c
src/core/sipe-subscriptions.c
src/core/sipe-subscriptions.h