Re: [PATCH 1/1] gprs: fix error check of gprs_cid_alloc function

2017-02-15 Thread Denis Kenzior
Hi Christophe, On 02/15/2017 10:54 AM, Christophe Ronco wrote: When there is no context id available, idmap_alloc and gprs_cid_alloc return max + 1. --- src/gprs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Regards, -Denis

[PATCH 1/1] gprs: fix error check of gprs_cid_alloc function

2017-02-15 Thread Christophe Ronco
When there is no context id available, idmap_alloc and gprs_cid_alloc return max + 1. --- src/gprs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gprs.c b/src/gprs.c index 5015a2fc..6ed1c89d 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -313,7 +313,7 @@ static gboolean