Re: [Ekiga-devel-list] the morning crash



Le samedi 12 avril 2008 à 11:41 +0200, Julien Puydt a écrit :
> Damien Sandras a écrit :
> > 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).
> 
> Uh... are you sure? I thought I had seen such a method...
> 

Oups, you are right!
-- 
 _     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]