Re: [Ekiga-devel-list] the morning crash
- From: Damien Sandras <dsandras seconix com>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] the morning crash
- Date: Sat, 12 Apr 2008 11:32:35 +0200
Le samedi 12 avril 2008 à 11:26 +0200, Julien Puydt a écrit :
> Damien Sandras a écrit :
> > No, it looks weird.
>
> Indeed.
>
> > The code is this one :
> > PString token;
> > endpoint.SetUpCall ("pc:*", dial_uri.c_str (), token);
>
> I saw ; may I just ask why we extract the C string from a std::string
> before calling a C++ method?
Because OPAL expects a PString and a PString can be created from a "char
*", not from a std::string (sigh).
--
_ Damien Sandras
(o-
//\ Ekiga Softphone : http://www.ekiga.org/
v_/_ NOVACOM : http://www.novacom.be/
FOSDEM : http://www.fosdem.org/
SIP Phone : sip:dsandras ekiga net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]