Skip to content

Commit

Permalink
Fix warnings/bad typing
Browse files Browse the repository at this point in the history
  • Loading branch information
vveljko committed Oct 5, 2017
1 parent f1a9d21 commit e57b269
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openssl/pbpal_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ enum pubnub_res pbpal_read_status(pubnub_t *pb)

if (pb->len == 0) {
pb->sock_state = STATE_NONE;
return true;
return PNR_OK;
}

if (pb->left == 0) {
Expand All @@ -353,10 +353,9 @@ enum pubnub_res pbpal_read_status(pubnub_t *pb)
}
else {
pb->sock_state = STATE_NEWDATA_EXHAUSTED;
return false;
}

return true;
return PNR_IN_PROGRESS;
}


Expand Down

0 comments on commit e57b269

Please sign in to comment.