Commit f80672d7 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Remove duplicate words and a duplicate newline.

parent 235f1e1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+3 −3
Original line number Diff line number Diff line
@@ -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. */
+1 −1
Original line number Diff line number Diff line
@@ -1375,7 +1375,7 @@ connection_proxy_connect(connection_t *conn, int type)
      /* Send a SOCKS4 connect request with empty user id */

      if (tor_addr_family(&conn->addr) != AF_INET) {
        log_warn(LD_NET, "SOCKS4 client is incompatible with with IPv6");
        log_warn(LD_NET, "SOCKS4 client is incompatible with IPv6");
        return -1;
      }

+1 −1
Original line number Diff line number Diff line
@@ -886,7 +886,7 @@ connection_or_nonopen_was_started_here(or_connection_t *conn)
 * return -1 if he is lying, broken, or otherwise something is wrong.
 *
 * If we initiated this connection (<b>started_here</b> is true), make sure
 * the other side sent sent a correctly formed certificate. If I initiated the
 * the other side sent a correctly formed certificate. If I initiated the
 * connection, make sure it's the right guy.
 *
 * Otherwise (if we _didn't_ initiate this connection), it's okay for
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ connection_write_str_to_buf(const char *s, control_connection_t *conn)
/** Given a <b>len</b>-character string in <b>data</b>, made of lines
 * terminated by CRLF, allocate a new string in *<b>out</b>, and copy the
 * contents of <b>data</b> into *<b>out</b>, adding a period before any period
 * that that appears at the start of a line, and adding a period-CRLF line at
 * that appears at the start of a line, and adding a period-CRLF line at
 * the end. Replace all LF characters sequences with CRLF.  Return the number
 * of bytes in *<b>out</b>.
 */
Loading