Merge branch 'master' into 'master'
using printf to avoid \n for pwd input message newline after "Please enter Password: " looks strange
This commit is contained in:
commit
e315738b37
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue