Fix missing applink call [from HEAD].

This commit is contained in:
Andy Polyakov 2005-09-29 16:59:19 +00:00
parent 75ef751e23
commit 844b0e603b

View File

@ -396,7 +396,10 @@ static int MS_CALLBACK file_gets(BIO *bp, char *buf, int size)
int ret=0; int ret=0;
buf[0]='\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') if (buf[0] != '\0')
ret=strlen(buf); ret=strlen(buf);
return(ret); return(ret);