Module: kamailio
Branch: 5.3
Commit: f959dec0c073c2b2dae904ee3d844872de989a2d
URL:
https://github.com/kamailio/kamailio/commit/f959dec0c073c2b2dae904ee3d84487…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-07-02T09:48:20+02:00
usrloc: rpc scan flags, cflags and methods fields as unsigned int
(cherry picked from commit 2c622627ea145eddcf891ba9b89b756457074991)
---
Modified: src/modules/usrloc/ul_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f959dec0c073c2b2dae904ee3d84487…
Patch:
https://github.com/kamailio/kamailio/commit/f959dec0c073c2b2dae904ee3d84487…
---
diff --git a/src/modules/usrloc/ul_rpc.c b/src/modules/usrloc/ul_rpc.c
index 0f87230697..2bffad62aa 100644
--- a/src/modules/usrloc/ul_rpc.c
+++ b/src/modules/usrloc/ul_rpc.c
@@ -618,7 +618,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
memset(&ci, 0, sizeof(ucontact_info_t));
- ret = rpc->scan(ctx, "SSSdfSddd*SS", &table, &aor, &contact,
&ci.expires,
+ ret = rpc->scan(ctx, "SSSdfSuuu*SS", &table, &aor, &contact,
&ci.expires,
&dtemp, &path, &ci.flags, &ci.cflags, &ci.methods, &received,
&socket);
if (ret < 9) {