[sr-dev] git:master:b55b6fa1: dispatcher: added ds_set_dst() and dst_set_domain()

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 15 13:35:43 CEST 2018


Thanks for heads up!

The travis-ci notification didn't come for some reason ...

Should be fixed now.

Cheers,
Daniel

On 15.06.18 13:22, Victor Seva wrote:
> master is broken now
> https://travis-ci.org/kamailio/kamailio/builds/392641648
>
> CC (clang) [M dispatcher.so] dispatch.o
> dispatch.c:1666:19: error: static declaration of 'ds_update_dst'
> follows non-static declaration
> static inline int ds_update_dst(
> ^
> ./dispatch.h:127:5: note: previous declaration is here
> int ds_update_dst(struct sip_msg *msg, int upos, int mode);
> ^
> dispatch.c:2069:6: error: too many arguments to function call,
> expected 3, have 4
> mode) != 0) {
> ^~~~
> ./dispatch.h:127:1: note: 'ds_update_dst' declared here
> int ds_update_dst(struct sip_msg *msg, int upos, int mode);
> ^
> dispatch.c:2211:47: error: too many arguments to function call,
> expected 3, have 4
> if(ds_update_dst(msg, &lxavp->val.v.s, sock, mode) != 0) {
> ~~~~~~~~~~~~~ ^~~~
> dispatch.c:2168:1: note: 'ds_update_dst' declared here
> int ds_update_dst(struct sip_msg *msg, int upos, int mode)
> ^
> dispatch.c:3063:14: error: use of undeclared identifier 'ds_next_dst'
> api->next = ds_next_dst;
> ^
> 4 errors generated.
>
>
> 2018-06-15 8:58 GMT+02:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
>     Module: kamailio
>     Branch: master
>     Commit: b55b6fa199828669e48354c10607541d9ae05184
>     URL:
>     https://github.com/kamailio/kamailio/commit/b55b6fa199828669e48354c10607541d9ae05184
>     <https://github.com/kamailio/kamailio/commit/b55b6fa199828669e48354c10607541d9ae05184>
>
>     Author: Daniel-Constantin Mierla <miconda at gmail.com
>     <mailto:miconda at gmail.com>>
>     Committer: Daniel-Constantin Mierla <miconda at gmail.com
>     <mailto:miconda at gmail.com>>
>     Date: 2018-06-15T08:54:02+02:00
>
>     dispatcher: added ds_set_dst() and dst_set_domain()
>
>     - unlike the ds_next_...() variants, these functions just push to
>     destination the current xavp_dst, without consuming it
>
>     ---
>
>     Modified: src/modules/dispatcher/dispatch.c
>     Modified: src/modules/dispatcher/dispatch.h
>     Modified: src/modules/dispatcher/dispatcher.c
>
>     ---
>
>     Diff: 
>     https://github.com/kamailio/kamailio/commit/b55b6fa199828669e48354c10607541d9ae05184.diff
>     <https://github.com/kamailio/kamailio/commit/b55b6fa199828669e48354c10607541d9ae05184.diff>
>     Patch:
>     https://github.com/kamailio/kamailio/commit/b55b6fa199828669e48354c10607541d9ae05184.patch
>     <https://github.com/kamailio/kamailio/commit/b55b6fa199828669e48354c10607541d9ae05184.patch>
>
>
>     _______________________________________________
>     Kamailio (SER) - Development Mailing List
>     sr-dev at lists.kamailio.org <mailto:sr-dev at lists.kamailio.org>
>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>     <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev>
>
>
>
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180615/70a289de/attachment-0001.html>


More information about the sr-dev mailing list