My standalone compress/decompress works perfect. After i imported compress function to my code, it work perfect. However, after import decompress function, it can't decompress the file. As a result, the file is empty. . After i check, it seems gzread() can't read. but the code is just copy and paste. Please tell me what i did wrong. tks a lot.
+ please remove .c in test1a.txt.myziphaha as the input
+ sample.c is the standalone
+ server.c at line 222 is to call decompress.