Module: kamailio
Branch: master
Commit: 656fbc9c12426ef3816d680f4fbae05017ceda54
URL:
https://github.com/kamailio/kamailio/commit/656fbc9c12426ef3816d680f4fbae05…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-26T08:05:27+01:00
core: msgid made unsigned inside msg_ctx_id_t to match field in sip_msg_t
---
Modified: src/core/parser/msg_parser.h
---
Diff:
https://github.com/kamailio/kamailio/commit/656fbc9c12426ef3816d680f4fbae05…
Patch:
https://github.com/kamailio/kamailio/commit/656fbc9c12426ef3816d680f4fbae05…
---
diff --git a/src/core/parser/msg_parser.h b/src/core/parser/msg_parser.h
index 969fbc6f9b..6890fee0b3 100644
--- a/src/core/parser/msg_parser.h
+++ b/src/core/parser/msg_parser.h
@@ -474,11 +474,11 @@ void reset_ua(struct sip_msg* const msg);
/**
* struct to identify a msg context
- * - the pair of pid and message-id
+ * - the pair of message-id and pid (fields in sip_msg_t)
*/
typedef struct msg_ctx_id {
+ unsigned int msgid;
int pid;
- int msgid;
} msg_ctx_id_t;
/**