aboutsummaryrefslogtreecommitdiffstats
path: root/pseudodb.c
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-03-26 13:32:57 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-03-26 13:32:57 -0500
commitcaeebc0dd6ff538629687b55a5ce72554a7c3f34 (patch)
tree29f25efb21e187a4689fa3112bdd67d64b96cc96 /pseudodb.c
parent9a95df4be5704606d88b5737b352d9ebf8ad9745 (diff)
downloadpseudo-caeebc0dd6ff538629687b55a5ce72554a7c3f34.tar.gz
pseudo-caeebc0dd6ff538629687b55a5ce72554a7c3f34.tar.bz2
pseudo-caeebc0dd6ff538629687b55a5ce72554a7c3f34.zip
Updates: Enable additional warnings, fix a number of things.
None of them seem to have been genuine problems, but it's prettier now, and some were questionable.
Diffstat (limited to 'pseudodb.c')
-rw-r--r--pseudodb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudodb.c b/pseudodb.c
index 15bc158..9203648 100644
--- a/pseudodb.c
+++ b/pseudodb.c
@@ -33,7 +33,7 @@ main(int argc, char **argv) {
pseudo_msg_t *msg;
int rc;
- if (!argv[1]) {
+ if (argc < 2) {
fprintf(stderr, "Usage: pseudodb <filename>\n");
exit(1);
}