[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r16662: {tor} fix typos from jake's patch earlier (one pointed out by fabi (tor/trunk/src/tools)



Author: arma
Date: 2008-08-26 15:13:24 -0400 (Tue, 26 Aug 2008)
New Revision: 16662

Modified:
   tor/trunk/src/tools/tor-resolve.c
Log:
fix typos from jake's patch earlier (one pointed out by fabian, thanks!)


Modified: tor/trunk/src/tools/tor-resolve.c
===================================================================
--- tor/trunk/src/tools/tor-resolve.c	2008-08-26 19:10:19 UTC (rev 16661)
+++ tor/trunk/src/tools/tor-resolve.c	2008-08-26 19:13:24 UTC (rev 16662)
@@ -141,7 +141,7 @@
 static const char *
 socks5_reason_to_string(char reason)
 {
-    switch(reason){
+    switch(reason) {
       case SOCKS5_SUCCEEDED:
         return "succeeded";
       case SOCKS5_GENERAL_ERROR:
@@ -155,13 +155,13 @@
       case SOCKS5_CONNECTION_REFUSED:
         return "connection refused";
       case SOCKS5_TTL_EXPIRED:
-        return "ttl explired";
+        return "ttl expired";
       case SOCKS5_COMMAND_NOT_SUPPORTED:
         return "command not supported";
       case SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED:
         return "address type not supported";
       default:
-        return "unknown SOCKS5 code.";
+        return "unknown SOCKS5 code";
     }
 }