aboutsummaryrefslogtreecommitdiff
path: root/dlltest.c
diff options
context:
space:
mode:
authorJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
committerJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
commit099d844292f60f9d58914da29e5773204dc55e7a (patch)
tree04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /dlltest.c
parent795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff)
downloadbzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.gz
bzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.bz2
bzip2-099d844292f60f9d58914da29e5773204dc55e7a.zip
bzip2-1.0.2bzip2-1.0.2
Diffstat (limited to 'dlltest.c')
-rw-r--r--dlltest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dlltest.c b/dlltest.c
index f79279c..2d7dcca 100644
--- a/dlltest.c
+++ b/dlltest.c
@@ -19,7 +19,7 @@
19 19
20#ifdef _WIN32 20#ifdef _WIN32
21 21
22#define BZ2_LIBNAME "libbz2-1.0.0.DLL" 22#define BZ2_LIBNAME "libbz2-1.0.2.DLL"
23 23
24#include <windows.h> 24#include <windows.h>
25static int BZ2DLLLoaded = 0; 25static int BZ2DLLLoaded = 0;
@@ -130,8 +130,8 @@ int main(int argc,char *argv[])
130 }else{ 130 }else{
131 fp_w = stdout; 131 fp_w = stdout;
132 } 132 }
133 if((BZ2fp_r == NULL && (BZ2fp_r = BZ2_bzdopen(fileno(stdin),"rb"))==NULL) 133 if((fn_r == NULL && (BZ2fp_r = BZ2_bzdopen(fileno(stdin),"rb"))==NULL)
134 || (BZ2fp_r != NULL && (BZ2fp_r = BZ2_bzopen(fn_r,"rb"))==NULL)){ 134 || (fn_r != NULL && (BZ2fp_r = BZ2_bzopen(fn_r,"rb"))==NULL)){
135 printf("can't bz2openstream\n"); 135 printf("can't bz2openstream\n");
136 exit(1); 136 exit(1);
137 } 137 }