From 586fa66c35d4e8786229eaf8e48db66d9566b42f Mon Sep 17 00:00:00 2001 From: anthraxx Date: Tue, 10 Jun 2014 15:36:45 +0200 Subject: [PATCH] using printf to avoid \n for pwd input message --- challenge/challenge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge/challenge.c b/challenge/challenge.c index c100906..61bf348 100644 --- a/challenge/challenge.c +++ b/challenge/challenge.c @@ -8,7 +8,7 @@ int main() { char *input_str = NULL; char *password = "23door42\n"; - puts("Please enter Password: "); + printf("Please enter Password: "); ret = getline(&input_str, &nbytes, stdin); if (ret == -1) {