提交 3c2b7367 编写于 作者: A Andy Polyakov

Fix missing applink call.

上级 23acb0ee
...@@ -396,7 +396,10 @@ static int MS_CALLBACK file_gets(BIO *bp, char *buf, int size) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册