]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Don't use gzclose() on a FILE *.
authorGuus Sliepen <guus@debian.org>
Sun, 7 Jul 2013 16:55:29 +0000 (18:55 +0200)
committerGuus Sliepen <guus@debian.org>
Sun, 7 Jul 2013 16:55:29 +0000 (18:55 +0200)
src/pak.cpp

index 226afe45aa2fc391a25c8456cbeaf5f850045843..16beab2b1ee0c05b047be699b780c0f999524b33 100644 (file)
@@ -119,7 +119,7 @@ void recurseDirectory(const char *dirName)
                        {
                                printf("Couldn't open %s for reading!\n", filename);
                                closedir(dirp);
-                               gzclose(pak);
+                               fclose(pak);
                                exit(1);
                        }
                        
@@ -141,7 +141,7 @@ void recurseDirectory(const char *dirName)
                        {
                                printf("Couldn't open %s for reading!\n", filename);
                                closedir(dirp);
-                               gzclose(pak);
+                               fclose(pak);
                                exit(1);
                        }
                        else