From 76942f6933d4b6bd7e6aeb8ce0788b2cf1626a87 Mon Sep 17 00:00:00 2001 From: anthraxx Date: Tue, 10 Jun 2014 22:56:01 +0200 Subject: [PATCH] C90 compilant commenting style --- challenge/challenge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenge/challenge.c b/challenge/challenge.c index 72e2ec6..938029b 100644 --- a/challenge/challenge.c +++ b/challenge/challenge.c @@ -11,13 +11,13 @@ int main(void) { printf("Please enter Password: "); - // read in password from standard input, exit on error. + /* read in password from standard input, exit on error. */ if (getline(&input_line, &input_size, stdin) == -1) { perror("Error"); exit(EXIT_FAILURE); } - // compare password, print info, exit appropriately + /* compare password, print info, exit appropriately */ if (strcmp(input_line, password) == 0) { puts("Success!"); exit(EXIT_SUCCESS);