Skip to content

Commit

Permalink
Fix File, get_args.c
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardnzekwe committed May 24, 2023
1 parent 27b0237 commit 6edb5a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_args.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int get_args(char *exe)
prompt_count++;
if (isatty(STDIN_FILENO) != 0) /* Check mode of interactivity */
write(STDOUT_FILENO, "$ ", 3);
num_char_read = getline(&line_buffer, &buffer_size, stdin);
num_char_read = get_line(&line_buffer, &buffer_size);
if (num_char_read == -1) /* getline() failed */
check_get_args(line_buffer, buffer_size);
else if (num_char_read == 0) /* No Read */
Expand Down
Binary file modified ralesh
Binary file not shown.

0 comments on commit 6edb5a8

Please sign in to comment.