diff options
Diffstat (limited to 'simulator.c')
-rw-r--r-- | simulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/simulator.c b/simulator.c index c6462ea..fb5ce8f 100644 --- a/simulator.c +++ b/simulator.c @@ -15,7 +15,6 @@ int main(int argc, char **argv) { gate_init(); while (NULL != fgets(buf, sizeof(buf), fd)) { - buf[strcspn(buf, "\r\n")] = '\0'; if (parse_line(buf)) { return 1; } |