Fix typo.

This commit is contained in:
Andy Polyakov 2005-09-29 20:16:04 +00:00
parent 3c2b73672e
commit 94c00f3d4d

View File

@ -396,7 +396,7 @@ static int MS_CALLBACK file_gets(BIO *bp, char *buf, int size)
int ret=0;
buf[0]='\0';
if (b->flags&BIO_FLAGS_UPLINK)
if (bp->flags&BIO_FLAGS_UPLINK)
UP_fgets(buf,size,bp->ptr);
else
fgets(buf,size,(FILE *)bp->ptr);