summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-05 01:57:27 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-05 01:57:27 +0000
commit4c1fa73c7e7e7d68078d2cb5297d76c2e83715c4 (patch)
tree4f42b1b44c1110f7d9acb0b756bbe06540c0b2d0
parenta53a73a782377bc1725c458b20b26368dd260b0f (diff)
downloadtor-4c1fa73c7e7e7d68078d2cb5297d76c2e83715c4.tar.gz
tor-4c1fa73c7e7e7d68078d2cb5297d76c2e83715c4.zip
typos and nits
svn:r5911
-rw-r--r--src/or/directory.c4
-rw-r--r--src/or/or.h2
-rw-r--r--src/or/routerparse.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 9ecaa70cf8..7fe78954c6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -332,7 +332,7 @@ connection_dir_download_networkstatus_failed(connection_t *conn)
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(connection_t *conn)
}
/** 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)
diff --git a/src/or/or.h b/src/or/or.h
index 7963f7ceee..f48507fc66 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -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? */
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 00bc8a454a..99fb7defb5 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -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.