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

[or-cvs] typos and nits



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c or.h routerparse.c 
Log Message:
typos and nits


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -p -d -r1.346 -r1.347
--- directory.c	3 Feb 2006 22:26:43 -0000	1.346
+++ directory.c	5 Feb 2006 01:57:26 -0000	1.347
@@ -332,7 +332,7 @@ connection_dir_download_networkstatus_fa
     directory_get_from_dirserver(conn->purpose, "all.z",
                                  0 /* don't retry_if_no_servers */);
   } else if (!strcmpstart(conn->requested_resource, "fp/")) {
-    /* We were trying to download by fingerprint; mark them all has having
+    /* We were trying to download by fingerprint; mark them all as having
      * failed, and possibly retry them later.*/
     smartlist_t *failed = smartlist_create();
     dir_split_resource_into_fingerprints(conn->requested_resource+3,
@@ -1804,7 +1804,7 @@ connection_dir_finished_connecting(conne
 }
 
 /** Called when one or more networkstatus fetches have failed (with uppercase
- * fingerprints listed in <b>failed</>).  Mark those fingerprints has having
+ * fingerprints listed in <b>failed</>).  Mark those fingerprints as having
  * failed once. */
 static void
 dir_networkstatus_download_failed(smartlist_t *failed)

Index: or.h
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.785
retrieving revision 1.786
diff -u -p -d -r1.785 -r1.786
--- or.h	3 Feb 2006 11:37:19 -0000	1.785
+++ or.h	5 Feb 2006 01:57:27 -0000	1.786
@@ -859,7 +859,7 @@ typedef struct routerstatus_t {
  * about a single router. */
 typedef struct local_routerstatus_t {
   /** What do we believe to be the case about this router?  In this field,
-   * descriptor_digest represnets the descriptor we would most like to use for
+   * descriptor_digest represents the descriptor we would most like to use for
    * this router. */
   routerstatus_t status;
   time_t next_attempt_at; /**< When should we try this descriptor again? */

Index: routerparse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -p -d -r1.170 -r1.171
--- routerparse.c	24 Jan 2006 00:31:16 -0000	1.170
+++ routerparse.c	5 Feb 2006 01:57:27 -0000	1.171
@@ -1651,7 +1651,7 @@ find_all_exitpolicy(smartlist_t *s)
   return out;
 }
 
-/** Compute the SHA digest of the substring of <b>s</b> taken from the first
+/** Compute the SHA-1 digest of the substring of <b>s</b> taken from the first
  * occurrence of <b>start_str</b> through the first newline after the first
  * subsequent occurrence of <b>end_str</b>; store the 20-byte result in
  * <b>digest</b>; return 0 on success.