diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-12-18 12:55:05 +0100 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-12-18 12:55:05 +0100 |
commit | f80672d74786c05a776fdbd8581d553c98d75e5a (patch) | |
tree | c9664ecf1c307a3dba4fc298f2d54fc19d0cc44b /src/common | |
parent | 235f1e1a967cb070c7246617461f58f0413394b3 (diff) | |
download | tor-f80672d74786c05a776fdbd8581d553c98d75e5a.tar.gz tor-f80672d74786c05a776fdbd8581d553c98d75e5a.zip |
Remove duplicate words and a duplicate newline.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat_libevent.c | 2 | ||||
-rw-r--r-- | src/common/util.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index 32c6d4c8bc..dcf51cbbd3 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -26,7 +26,7 @@ /** A number representing a version of Libevent. This is a 4-byte number, with the first three bytes representing the - major, minor, and patchlevel respectively of the the library. The fourth + major, minor, and patchlevel respectively of the library. The fourth byte is unused. This is equivalent to the format of LIBEVENT_VERSION_NUMBER on Libevent diff --git a/src/common/util.c b/src/common/util.c index 6177a3e736..a15af7ed57 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -682,7 +682,7 @@ find_whitespace_eos(const char *s, const char *eos) return s; } -/** Return the the first occurrence of <b>needle</b> in <b>haystack</b> that +/** Return the first occurrence of <b>needle</b> in <b>haystack</b> that * occurs at the start of a line (that is, at the beginning of <b>haystack</b> * or immediately after a newline). Return NULL if no such string is found. */ @@ -1237,7 +1237,7 @@ format_rfc1123_time(char *buf, time_t t) memcpy(buf+8, MONTH_NAMES[tm.tm_mon], 3); } -/** Parse the the RFC1123 encoding of some time (in GMT) from <b>buf</b>, +/** Parse the RFC1123 encoding of some time (in GMT) from <b>buf</b>, * and store the result in *<b>t</b>. * * Return 0 on success, -1 on failure. @@ -1778,7 +1778,7 @@ write_str_to_file(const char *fname, const char *str, int bin) } /** Represents a file that we're writing to, with support for atomic commit: - * we can write into a a temporary file, and either remove the file on + * we can write into a temporary file, and either remove the file on * failure, or replace the original file on success. */ struct open_file_t { char *tempname; /**< Name of the temporary file. */ |