1
0
Fork 0

07: C: Don’t needlessly strip newline chars

This commit is contained in:
Mia Herkt 2022-12-07 22:58:08 +01:00
parent 3144a5f528
commit 97294b6cf8
Signed by: mia
GPG Key ID: 72E154B8622EC191
1 changed files with 0 additions and 1 deletions

View File

@ -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] == '/')