aboutsummaryrefslogtreecommitdiff
path: root/src/testgdbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testgdbm.c')
-rw-r--r--src/testgdbm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testgdbm.c b/src/testgdbm.c
index d789a01..ddf12b8 100644
--- a/src/testgdbm.c
+++ b/src/testgdbm.c
@@ -564,7 +564,7 @@ print_version_handler (char *arg[NARGS] ARG_UNUSED)
void
read_handler (char *arg[NARGS])
{
- read_from_file (arg[0], arg[1] && strcmp (arg[1], "replace"));
+ read_from_file (arg[0], arg[1] && strcmp (arg[1], "replace") == 0);
}
void
@@ -952,7 +952,6 @@ main (int argc, char *argv[])
args[i] = p;
}
cmd->handler (args);
- printf ("\n");
}
/* Quit normally. */

Return to:

Send suggestions and report system problems to the System administrator.