[sr-dev] git:5.0:1c944f3f: sipcapture: fix custom field variable naming
Ãyvind Kolbu
oyvind.kolbu at usit.uio.no
Wed Oct 25 12:06:41 CEST 2017
Module: kamailio
Branch: 5.0
Commit: 1c944f3fb1d67dbeb97879d3177171af8d8aecd7
URL: https://github.com/kamailio/kamailio/commit/1c944f3fb1d67dbeb97879d3177171af8d8aecd7
Author: Mikko Lehto <mslehto at iki.fi>
Committer: Ãyvind Kolbu <oyvind.kolbu at usit.uio.no>
Date: 2017-10-25T10:50:53+02:00
sipcapture: fix custom field variable naming
(cherry picked from commit c8a804f5e3c3b12b64871d3989a87d79d8627afe)
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/1c944f3fb1d67dbeb97879d3177171af8d8aecd7.diff
Patch: https://github.com/kamailio/kamailio/commit/1c944f3fb1d67dbeb97879d3177171af8d8aecd7.patch
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c
index 1111b9da65..3e6d28793f 100644
--- a/src/modules/sipcapture/sipcapture.c
+++ b/src/modules/sipcapture/sipcapture.c
@@ -1887,7 +1887,7 @@ static int sip_capture(struct sip_msg *msg, str *_table, _capture_mode_data_t *
else { EMPTY_STR(sco.custom1); }
/* Custom - field2 */
- if(custom_field3_header.len > 0 && (tmphdr[5] = get_hdr_by_name(msg,custom_field2_header.s, custom_field2_header.len)) != NULL) {
+ if(custom_field2_header.len > 0 && (tmphdr[5] = get_hdr_by_name(msg,custom_field2_header.s, custom_field2_header.len)) != NULL) {
sco.custom2 = tmphdr[5]->body;
}
else { EMPTY_STR(sco.custom2); }
More information about the sr-dev
mailing list