Module: sems Branch: master Commit: e1a8cf0250cbbadbaa768cd4198ea3cbf92a08fd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e1a8cf0250cbbadbaa768cd4198ea3cbf92a08fd
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Fri Mar 1 11:25:31 2013 +0100 c/f: sbc: explicitly use AmArg(AmObject*) when called with NULL --- apps/sbc/SBCCallLeg.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/sbc/SBCCallLeg.cpp b/apps/sbc/SBCCallLeg.cpp index 9094ddf..a2edde3 100644 --- a/apps/sbc/SBCCallLeg.cpp +++ b/apps/sbc/SBCCallLeg.cpp @@ -1093,10 +1093,10 @@ void SBCCallLeg::CCConnect(const AmSipReply& reply) { AmArg di_args,ret; di_args.push(cc_if.cc_name); // cc name - di_args.push(getLocalTag()); // call ltag + di_args.push(getLocalTag()); // call ltag di_args.push((AmObject*)&call_profile); // call profile - di_args.push(NULL); // there is no sip msg - di_args.push(AmArg()); // timestamps + di_args.push((AmObject*)NULL); // there is no sip msg + di_args.push(AmArg()); // timestamps di_args.back().push((int)call_start_ts.tv_sec); di_args.back().push((int)call_start_ts.tv_usec); di_args.back().push((int)call_connect_ts.tv_sec); @@ -1143,7 +1143,7 @@ void SBCCallLeg::CCEnd(const CCInterfaceListIteratorT& end_interface) { di_args.push(cc_if.cc_name); di_args.push(getLocalTag()); // call ltag di_args.push((AmObject*)&call_profile); - di_args.push(NULL); // there is no sip msg + di_args.push((AmObject*)NULL); // there is no sip msg di_args.push(AmArg()); // timestamps di_args.back().push((int)call_start_ts.tv_sec); di_args.back().push((int)call_start_ts.tv_usec); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
