commit | adc6648841d50f459fe2ef5b044146838a7a3b21 | [log] [tgz] |
---|---|---|
author | Max <msuraev@sysmocom.de> | Mon Feb 20 11:23:20 2017 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Sun Mar 05 12:25:37 2017 +0000 |
tree | 3d7ce485f3df21b8cead0d81b4f84a9ee13cc4d8 | |
parent | d4bebbd8554ff221453fade22371646f941184f0 [diff] |
Make subscr parameter to db_subscr_get() optional This allows to check for subscriber's presence in DB without the need to bother with unused structure allocation. While at it also call to db_remove_reset() and return explicitly instead of using goto to make it a bit easier to follow the code. Change-Id: I83b0f4a5dacb97614721690ef55bc1311624a58e