Commit 76942f69 authored by anthraxx's avatar anthraxx
Browse files

C90 compilant commenting style

parent 496ebd11
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment