Commit e482ef14 authored by deuce's avatar deuce
Browse files

Add missing else in last commit.

parent 6efd59ff
......@@ -171,7 +171,8 @@ static ptrdiff_t js_socket_recv(js_socket_private_t *p, void *buf, size_t len, i
tv.tv_sec = timeout;
if(select(p->sock+1,&socket_set,NULL,NULL,&tv)==1)
ret = recv(p->sock, buf, len, flags);
ret = 0;
else
ret = 0;
}
else {
status = cryptPopData(p->session, buf, len, &copied);
......
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