diff --git a/07/solution.c b/07/solution.c index ad20f9e..5e0027a 100644 --- a/07/solution.c +++ b/07/solution.c @@ -55,7 +55,6 @@ int main(int argc, char **argv) { size_t S = 0, G = 0, required = 0; while (fgets(l, 64, stdin)) { - l[strlen(l) - 1] = '\0'; if (l[0] == '$') { if (l[2] == 'c') { if (l[5] == '/')