ret = HTTPC_InitializeConnectionSession(context->servhandle, context->httphandle);
if(ret!=0) {
- HTTPC_CloseContext(__httpc_servhandle, context->httphandle);
svcCloseHandle(context->servhandle);
+ HTTPC_CloseContext(__httpc_servhandle, context->httphandle);
return ret;
}
ret = HTTPC_SetProxyDefault(context->servhandle, context->httphandle);
if(ret!=0) {
- HTTPC_CloseContext(__httpc_servhandle, context->httphandle);
svcCloseHandle(context->servhandle);
+ HTTPC_CloseContext(__httpc_servhandle, context->httphandle);
return ret;
}
{
Result ret=0;
- ret = HTTPC_CloseContext(context->servhandle, context->httphandle);
svcCloseHandle(context->servhandle);
+ ret = HTTPC_CloseContext(__httpc_servhandle, context->httphandle);
return ret;
}