[sr-dev] git:master:521a631a: kemix: fix for get protoid function

Henning Westerholt hw at skalatan.de
Thu Aug 1 23:09:45 CEST 2019


Hi Daniel,

there were also a commit to the docker subproject included in this 
commit. Was this by purpose? (I remember you mentioned some issues with 
the docker sub repository.)

Cheers,

Henning

Am 01.08.19 um 11:01 schrieb Daniel-Constantin Mierla:
> Module: kamailio
> Branch: master
> Commit: 521a631af088c58cef39fd2c795af8ba64eae28b
> URL: https://github.com/kamailio/kamailio/commit/521a631af088c58cef39fd2c795af8ba64eae28b
>
> Author: Daniel-Constantin Mierla <miconda at gmail.com>
> Committer: Daniel-Constantin Mierla <miconda at gmail.com>
> Date: 2019-08-01T11:01:22+02:00
>
> kemix: fix for get protoid function
>
> ---
>
> Modified: pkg/docker
> Modified: src/modules/kemix/kemix_mod.c
>
> ---
>
> Diff:  https://github.com/kamailio/kamailio/commit/521a631af088c58cef39fd2c795af8ba64eae28b.diff
> Patch: https://github.com/kamailio/kamailio/commit/521a631af088c58cef39fd2c795af8ba64eae28b.patch
>
> ---
>
> diff --git a/pkg/docker b/pkg/docker
> index ebc2c9c949..b92a1c899b 160000
> --- a/pkg/docker
> +++ b/pkg/docker
> @@ -1 +1 @@
> -Subproject commit ebc2c9c949ecbe328c0024842b64af55897c3630
> +Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466
> diff --git a/src/modules/kemix/kemix_mod.c b/src/modules/kemix/kemix_mod.c
> index 608d2fd502..a3702e0043 100644
> --- a/src/modules/kemix/kemix_mod.c
> +++ b/src/modules/kemix/kemix_mod.c
> @@ -478,8 +478,9 @@ static int ki_kx_get_protoid(sip_msg_t *msg)
>   	if(msg==NULL) {
>   		return -1;
>   	}
> +	memset(&_sr_kemi_kx_xval, 0, sizeof(sr_kemi_xval_t));
>   
> -	_sr_kemi_kx_xval.vtype = SR_KEMIP_STR;
> +	_sr_kemi_kx_xval.vtype = SR_KEMIP_INT;
>   	return (int)msg->rcv.proto;
>   }
>   
>
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services



More information about the sr-dev mailing list