Commit 49014ccb authored by Daniel Lenski's avatar Daniel Lenski

openconnect_base64_decode: fix sign of error return value

parent 89778776
......@@ -99,7 +99,7 @@ void *openconnect_base64_decode(int *ret_len, const char *in)
err:
free(buf);
*ret_len = EINVAL;
*ret_len = -EINVAL;
return NULL;
}
......
Markdown is supported
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