javacommons/gcfprotocols/http/src.s60/nativehttpsession.cpp
changeset 87 1627c337e51e
parent 80 d6dafc5d983f
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
    92 
    92 
    93     HBufC* t1 = S60CommonUtils::wstringToDes(uri2.c_str());
    93     HBufC* t1 = S60CommonUtils::wstringToDes(uri2.c_str());
    94     HBufC* t2 = S60CommonUtils::wstringToDes(req2.c_str());
    94     HBufC* t2 = S60CommonUtils::wstringToDes(req2.c_str());
    95 
    95 
    96     TInt handle= NativeHttpTransaction::NewL(*aJni,aPeer,/* NULL, */*iHttpSessionClient, (const TDesC*)t1, (const TDesC*)t2,this);
    96     TInt handle= NativeHttpTransaction::NewL(*aJni,aPeer,/* NULL, */*iHttpSessionClient, (const TDesC*)t1, (const TDesC*)t2,this);
       
    97     delete t1;
       
    98     delete t2;
    97     return handle;
    99     return handle;
    98 }
   100 }
    99 
   101 
   100 TInt NativeHttpSession::ExecuteCreateHttpSessionL(int aSelfhandle, TInt aType, TInt aAPNId, TInt*  apnerr)
   102 TInt NativeHttpSession::ExecuteCreateHttpSessionL(int aSelfhandle, TInt aType, TInt aAPNId, TInt*  apnerr)
   101 {
   103 {