From f7ebcdad7205aa26130a6290bcd1bda92ca8aedc Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 21 Nov 2023 10:40:51 +0100 Subject: [PATCH] MT#58795 fix sipwise/usrloc_dbro_pinger.patch Change-Id: If78f27a1a17211b2f4a2c20d7e651bb3d121ec2e (cherry picked from commit 4df060d2e9f75eac48195256e074a9a85b5d0ac4) --- debian/patches/sipwise/usrloc_dbro_pinger.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/patches/sipwise/usrloc_dbro_pinger.patch b/debian/patches/sipwise/usrloc_dbro_pinger.patch index 366478096..f7e9a26fc 100644 --- a/debian/patches/sipwise/usrloc_dbro_pinger.patch +++ b/debian/patches/sipwise/usrloc_dbro_pinger.patch @@ -7,7 +7,7 @@ Subject: usrloc_dbro_pinger 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/modules/usrloc/dlist.c b/src/modules/usrloc/dlist.c -index 57a9b4a..50dd4c1 100644 +index 57a9b4a..ceca3f4 100644 --- a/src/modules/usrloc/dlist.c +++ b/src/modules/usrloc/dlist.c @@ -307,6 +307,8 @@ static inline int get_all_db_ucontacts(void *buf, int len, unsigned int flags, @@ -39,7 +39,7 @@ index 57a9b4a..50dd4c1 100644 } - if(ul_dbf.query( - ul_dbh, keys1, ops1, vals1, keys2, n[0], n[1], NULL, &res) -+ if(dbf.query( ++ if(dbf->query( + dbh, keys1, ops1, vals1, keys2, n[0], n[1], NULL, &res) < 0) { LM_ERR("query error\n"); @@ -47,7 +47,7 @@ index 57a9b4a..50dd4c1 100644 } if(RES_ROW_N(res) == 0) { - ul_dbf.free_result(ul_dbh, res); -+ dbf.free_result(dbh, res); ++ dbf->free_result(dbh, res); continue; }