Module: sems Branch: master Commit: 6bced481b0b2b0e6e0747c136d22a55d4226a03b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=6bced481b0b2b0e6e0747c136d22a55d4226a03b
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 55c642e..2e5584b 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
