Fix typo.
authorAndy Polyakov <appro@openssl.org>
Thu, 29 Sep 2005 20:16:04 +0000 (20:16 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 29 Sep 2005 20:16:04 +0000 (20:16 +0000)
crypto/bio/bss_file.c

index ed6ee6cabba0b0e253897a5dbae75fa0eac7eb82..ad4b301388106a94a8a6dfe00167ff6351725bf5 100644 (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);