[or-cvs] r13877: Backport: Patch from karsten: proper error message from tor- (in tor/branches/tor-0_2_0-patches: . src/tools)

nickm at seul.org nickm at seul.org
Wed Mar 5 22:39:54 UTC 2008


Author: nickm
Date: 2008-03-05 17:39:54 -0500 (Wed, 05 Mar 2008)
New Revision: 13877

Modified:
   tor/branches/tor-0_2_0-patches/
   tor/branches/tor-0_2_0-patches/src/tools/tor-gencert.c
Log:
 r18634 at catbus:  nickm | 2008-03-05 17:39:44 -0500
 Backport: Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd



Property changes on: tor/branches/tor-0_2_0-patches
___________________________________________________________________
 svk:merge ticket from /tor/020 [r18634] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/branches/tor-0_2_0-patches/src/tools/tor-gencert.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/tools/tor-gencert.c	2008-03-05 22:39:49 UTC (rev 13876)
+++ tor/branches/tor-0_2_0-patches/src/tools/tor-gencert.c	2008-03-05 22:39:54 UTC (rev 13877)
@@ -178,7 +178,7 @@
       make_new_id = 1;
     } else if (!strcmp(argv[i], "--passphrase-fd")) {
       if (i+1>=argc) {
-        fprintf(stderr, "No argument to -m\n");
+        fprintf(stderr, "No argument to --passphrase-fd\n");
         return 1;
       }
       passphrase_fd = atoi(argv[++i]);



More information about the tor-commits mailing list