Commit 90c55806 authored by ylecollen's avatar ylecollen
Browse files

fix an invalid test

parent 9df5dd9c
......@@ -69,7 +69,7 @@ JNIEXPORT jlong OLM_OUTBOUND_GROUP_SESSION_FUNC_DEF(createNewSessionJni)(JNIEnv
{
LOGE(" ## createNewSessionJni(): failure - outbound group session size = 0");
}
else if (!(sessionPtr = (OlmOutboundGroupSession*)malloc(sessionSize)))
else if ((sessionPtr = (OlmOutboundGroupSession*)malloc(sessionSize)))
{
sessionPtr = olm_outbound_group_session(sessionPtr);
LOGD(" ## createNewSessionJni(): success - outbound group session size=%lu",static_cast<long unsigned int>(sessionSize));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment