From 68c4e104ba345bd7131dfa404f63e2176bff965e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 10 Jan 2019 00:40:04 +0100 Subject: spaces -> tabs --- repl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/repl.c b/repl.c index a8aae54..665523c 100644 --- a/repl.c +++ b/repl.c @@ -30,14 +30,14 @@ int main(int argc, char *argv[]) { rl_clear_signals(); while (true) { - char *input = readline(prompt); + char *input = readline(prompt); if (input == NULL) { /* ctrl-d */ printf("\n"); break; } - - add_history(input); + + add_history(input); int size = strlen(argv[1]) + 1 + strlen(input) + 1; char *command = malloc(size); @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) { system(command); - free(input); + free(input); } - return 0; + return 0; } -- cgit v1.2.3