fixup libmisdnuser
This commit is contained in:
parent
3672a4c99e
commit
0d74475db1
|
@ -942,8 +942,10 @@ again:
|
||||||
if (ret != -EAGAIN)
|
if (ret != -EAGAIN)
|
||||||
eprint("%s read socket error %s\n", __FUNCTION__, strerror(errno));
|
eprint("%s read socket error %s\n", __FUNCTION__, strerror(errno));
|
||||||
// here ignore when no message available from mISDN
|
// here ignore when no message available from mISDN
|
||||||
|
free_mbuffer(mb);
|
||||||
} else if (ret < MISDN_HEADER_LEN) {
|
} else if (ret < MISDN_HEADER_LEN) {
|
||||||
eprint("%s read socket short frame\n", __FUNCTION__);
|
eprint("%s read socket short frame\n", __FUNCTION__);
|
||||||
|
free_mbuffer(mb);
|
||||||
} else {
|
} else {
|
||||||
work |= 1;
|
work |= 1;
|
||||||
mb->len = ret;
|
mb->len = ret;
|
||||||
|
|
Loading…
Reference in New Issue