Module: sems Branch: 1.4 Commit: 6835a84cfe8ef5d1c11ff76a6956ee0792e49628 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=6835a84cfe8ef5d1c11ff76a6956ee0792e49628
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Fri Jul 22 14:30:41 2011 +0200 sbc: fix log of of active_profile --- apps/sbc/SBC.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/sbc/SBC.cpp b/apps/sbc/SBC.cpp index 65f8d6e..e3d8a76 100644 --- a/apps/sbc/SBC.cpp +++ b/apps/sbc/SBC.cpp @@ -104,9 +104,10 @@ int SBCFactory::onLoad() ERROR("call profile active_profile '%s' not loaded!\n", it->c_str()); return -1; } - active_profile_s+=*it+","; + active_profile_s+=*it; + if (it != active_profile.end()-1) + active_profile_s+=", "; } - active_profile_s.erase(active_profile_s.length()); INFO("SBC: active profile: '%s'\n", active_profile_s.c_str()); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
