[PATCH 5/6] gprs-ns: Let gprs_nsvc_reset return a value

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Thu Oct 9 05:49:39 UTC 2014


On Wed, Oct 08, 2014 at 12:05:17PM +0200, Jacob Erlbeck wrote:
> Currently gprs_nsvc_reset does not return any value.
> 
> This patch changes the function to return an integer, where a value
> less than zero indicates an error. The value is taken from the
> gprs_ns_tx_reset function. In case of failure, an error message is logged.

ah. Now update the unit test to print "failed" again or preferable
OSMO_ASSERT(rc < 0)?





More information about the OpenBSC mailing list