]> gitweb.hhaalo.de Git - discspan.git/commitdiff
fix: length malloc
authorBastian Dehn <hhaalo@arcor.de>
Sat, 14 Sep 2019 17:45:59 +0000 (19:45 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 14 Sep 2019 17:45:59 +0000 (19:45 +0200)
discspan.c

index 09d5fc0702ba1474d58a0270830493bdb7b50456..60fd551a138f53a78e2fd681dc4da24f14b7d5e5 100644 (file)
@@ -49,7 +49,6 @@ int get_array_length(FILE *in)
                lines++;
        }
        rewind(in);
-       lines--;
 
        return lines;
 }