diff --git a/src/lib/misc.c b/src/lib/misc.c index 16c2b7e..18b27b8 100644 --- a/src/lib/misc.c +++ b/src/lib/misc.c @@ -60,7 +60,7 @@ void checkVersion(inputFlags flags) fileBuffer = fopen(VERSIONS_NAME, "r"); fseek(fileBuffer, 0, SEEK_END); buffer = malloc(ftell(fileBuffer)); - + rewind(fileBuffer); //REWIND fileBuffer (NO SHIT) //FIX buffer