From fcc6c957bfb391b675b3f251a28ec988e31ff50c Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Sat, 19 Mar 2022 07:35:32 +0000 Subject: numericx_translate() return true * numericx_translate() was returning EXIT_SUCCESS in case of success. Doohh! Now it is return true, in case of success. Ajust doxygen comment accordingly. Signed-off-by: Daniel Santos --- cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli.c') diff --git a/cli.c b/cli.c index 816da7d..be77bcc 100644 --- a/cli.c +++ b/cli.c @@ -143,7 +143,7 @@ main(int argc, char* argv[]) switch( status ) { case EINVAL: - fprintf(stderr, "error: %s: %s. Resulting string variable has to be NULL.\n", + fprintf(stderr, "error: %s: %s. Resulting string argument value has to be NULL.\n", PROG_NAME, strerror(EINVAL)); break; case EDOM: @@ -154,7 +154,7 @@ main(int argc, char* argv[]) fprintf(stderr, "error: %s: Unrepresentable void number.\n", PROG_NAME); break; } - if( !(status == EXIT_SUCCESS) ) + if( !(status == true) ) { fprintf(stderr, "error: %s: Incapable of translating.\n", PROG_NAME); free(from); -- cgit 1.4.1-2-gfad0