Fix missing applink call.

This commit is contained in:
Andy Polyakov 2005-09-29 16:56:21 +00:00
parent 23acb0eeb2
commit 3c2b73672e

View file

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