[or-cvs] r16938: {tor} ok, but inaccurate error strings worse (tor/trunk/src/or)

arma at seul.org arma at seul.org
Tue Sep 23 08:57:30 UTC 2008


Author: arma
Date: 2008-09-23 04:57:30 -0400 (Tue, 23 Sep 2008)
New Revision: 16938

Modified:
   tor/trunk/src/or/directory.c
Log:
ok, but inaccurate error strings worse


Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2008-09-23 08:54:03 UTC (rev 16937)
+++ tor/trunk/src/or/directory.c	2008-09-23 08:57:30 UTC (rev 16938)
@@ -3083,9 +3083,9 @@
              "Rejected rend descriptor (length %d) from %s.",
              (int)body_len, conn->_base.address);
       write_http_status_line(conn, 400,
-                             "Invalid v1 service descriptor rejected");
+                             "Invalid v0 service descriptor rejected");
     } else {
-      write_http_status_line(conn, 200, "Service descriptor (v1) stored");
+      write_http_status_line(conn, 200, "Service descriptor (v0) stored");
     }
     goto done;
   }



More information about the tor-commits mailing list