gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-47


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-473-g462af4a
Date: Thu, 18 Apr 2013 10:14:47 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  462af4ad3c9788fe8463ee5cfb610fe0e79c28fb (commit)
      from  eb48810fcc7067f6f1df046525b0a23c05bbc931 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=462af4ad3c9788fe8463ee5cfb610fe0e79c28fb


commit 462af4ad3c9788fe8463ee5cfb610fe0e79c28fb
Author: Daniele Forsi <address@hidden>
Date:   Thu Apr 18 12:10:50 2013 +0200

    Fix argument count check and add usage text

diff --git a/testsuite/dump-vcard.c b/testsuite/dump-vcard.c
index 070d67a..302970d 100644
--- a/testsuite/dump-vcard.c
+++ b/testsuite/dump-vcard.c
@@ -10,8 +10,10 @@ int main (int argc, char **argv)
        char *buf, *vcard;
        int is_stdin;
 
-       if (argc < 2)
+       if (argc != 2) {
+               fprintf (stderr, "Usage: %s \"stdin\"|FILENAME\n", argv[0]);
                return 1;
+       }
 
        if (strcmp (argv[1], "stdin") == 0)
                is_stdin = 1;

-----------------------------------------------------------------------

Summary of changes:
 testsuite/dump-vcard.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]