[tor-commits] [tor/master] tor-gencert: Fix a minor formatting issue in an error message (re: #4574)

nickm at torproject.org nickm at torproject.org
Fri Nov 25 15:05:16 UTC 2011


commit f1c47586ac2b66e41948f4e25ba1a6b3bccb84d7
Author: Peter Palfrader <peter at palfrader.org>
Date:   Fri Nov 25 14:16:33 2011 +0100

    tor-gencert: Fix a minor formatting issue in an error message (re: #4574)
---
 src/tools/tor-gencert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index 974a58b..57f82b1 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -153,7 +153,7 @@ parse_commandline(int argc, char **argv)
       }
       months_lifetime = atoi(argv[++i]);
       if (months_lifetime > 24 || months_lifetime < 0) {
-        fprintf(stderr, "Lifetime (in months) was out of range.");
+        fprintf(stderr, "Lifetime (in months) was out of range.\n");
         return 1;
       }
     } else if (!strcmp(argv[i], "-r") || !strcmp(argv[i], "--reuse")) {





More information about the tor-commits mailing list