[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Some http status lines ended in a dot, others did not. Mak...
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv18539
Modified Files:
directory.c
Log Message:
Some http status lines ended in a dot, others did not. Make it all the same and remove the period from all
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -d -r1.310 -r1.311
--- directory.c 17 Oct 2005 16:21:41 -0000 1.310
+++ directory.c 18 Oct 2005 14:57:46 -0000 1.311
@@ -1332,7 +1332,7 @@
dirserv_get_routerdescs(descs, url);
tor_free(url);
if (!smartlist_len(descs)) {
- write_http_status_line(conn, 404, "Servers unavailable.");
+ write_http_status_line(conn, 404, "Servers unavailable");
} else {
size_t len = 0;
format_rfc1123_time(date, time(NULL));
@@ -1395,7 +1395,7 @@
* if we're gone to the site recently, and 404 if we haven't.
*
* Reject. */
- write_http_status_line(conn, 400, "Nonauthoritative directory does not not store rendezvous descriptors.");
+ write_http_status_line(conn, 400, "Nonauthoritative directory does not not store rendezvous descriptors");
tor_free(url);
return 0;
}
@@ -1445,7 +1445,7 @@
if (!authdir_mode(get_options())) {
/* we just provide cached directories; we don't want to
* receive anything. */
- write_http_status_line(conn, 400, "Nonauthoritative directory does not accept posted server descriptors.");
+ write_http_status_line(conn, 400, "Nonauthoritative directory does not accept posted server descriptors");
return 0;
}