[sr-dev] [kamailio/kamailio] dlgs: dlgs_tags_count(): always returns 1 and not count of dialogs (#2884)
MikhailKalashnikov
notifications at github.com
Thu Oct 14 09:46:08 CEST 2021
### Description
dlgs: dlgs_tags_count(): always returns 1 and not count of dialogs.
### Possible Solutions
I guess [ki_dlgs_tags_count](https://github.com/kamailio/kamailio/blob/master/src/modules/dlgs/dlgs_mod.c#L350) should return `ret` instead of 1.
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.3.5 (x86_64/linux)
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 4.9.2
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2884
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211014/8ff00060/attachment.htm>
More information about the sr-dev
mailing list