summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ccc265e)
Returning -1 for an attempt to read from an empty buffer is empty is
not an error that should be signalled via the error queue, it's a
'retry read' condition and is signalled as such.
}
} else if (bm->length == 0)
{
}
} else if (bm->length == 0)
{
+ ret = b->num;
+ if (ret != 0)
- ret= b->num;
- if(ret < 0)
- BIOerr(BIO_F_MEM_READ,BIO_R_EOF_ON_MEMORY_BIO);