[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-devel
Subject: [sr-dev] git:master:927a2451: dispatcher: updates for the new t field names
From: Daniel-Constantin Mierla <miconda () gmail ! com>
Date: 2023-03-31 16:25:33
Message-ID: E1piHZF-0004g2-7t () www ! kamailio ! org
[Download RAW message or body]
Module: kamailio
Branch: master
Commit: 927a2451e084e886d2548fdae3f5f4cd3abd0a4b
URL: https://github.com/kamailio/kamailio/commit/927a2451e084e886d2548fdae3f5f4cd3abd0a4b
Author: Daniel-Constantin Mierla <miconda@gmail.com>
Committer: Daniel-Constantin Mierla <miconda@gmail.com>
Date: 2023-03-31T18:24:24+02:00
dispatcher: updates for the new t field names
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff: https://github.com/kamailio/kamailio/commit/927a2451e084e886d2548fdae3f5f4cd3abd0a4b.diff
Patch: https://github.com/kamailio/kamailio/commit/927a2451e084e886d2548fdae3f5f4cd3abd0a4b.patch
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index d79fb7a6d3d..484322f0ec7 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -3613,8 +3613,8 @@ static void ds_options_callback(
/* The SIP-URI is taken from the Transaction.
* Remove the "To: <" (s+5) and the trailing >+new-line (s - 5 (To: <)
* - 3 (>\r\n)). */
- uri.s = t->to.s + 5;
- uri.len = t->to.len - 8;
+ uri.s = t->to_hdr.s + 5;
+ uri.len = t->to_hdr.len - 8;
LM_DBG("OPTIONS-Request was finished with code %d (to %.*s, group %d)\n",
ps->code, uri.len, uri.s, group);
if (ds_ping_latency_stats) {
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic