javacommons/gcfprotocols/http/src.s60/nativetransaction.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 71 d5e927d5853b
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   218     return header;
   218     return header;
   219 }
   219 }
   220 
   220 
   221 jstring GetUserAgentL(JNIEnv *aJni, jboolean aMidpRuntime)
   221 jstring GetUserAgentL(JNIEnv *aJni, jboolean aMidpRuntime)
   222 {
   222 {
       
   223 
   223     jstring header = NULL;
   224     jstring header = NULL;
   224 
   225 
   225     if (aMidpRuntime == false)
   226     if (aMidpRuntime == false)
   226     {
   227     {
   227         CUserAgent* userAgent = CUserAgent::NewL();
   228         CUserAgent* userAgent = CUserAgent::NewL();
   288             }
   289             }
   289         }
   290         }
   290 
   291 
   291         CleanupStack::PopAndDestroy(repository);
   292         CleanupStack::PopAndDestroy(repository);
   292     }
   293     }
   293     LOG(ESOCKET,EInfo,"GetUserAgentL() -");
   294 
   294     return header;
   295     return header;
   295 }
   296 }