Browse Source

Fix wide lines

svn:r5793
Nick Mathewson 18 years ago
parent
commit
8907391ad6
3 changed files with 8 additions and 6 deletions
  1. 2 1
      src/or/circuitbuild.c
  2. 2 2
      src/or/main.c
  3. 4 3
      src/or/rephist.c

+ 2 - 1
src/or/circuitbuild.c

@@ -2191,7 +2191,8 @@ entry_guards_parse_state(or_state_t *state, int set, const char **err)
     if (!strcasecmp(line->key, "EntryGuard")) {
       smartlist_t *args = smartlist_create();
       node = tor_malloc_zero(sizeof(entry_guard_t));
-      node->made_contact = 1; /* all entry guards on disk have been contacted */
+      /* all entry guards on disk have been contacted */
+      node->made_contact = 1;
       smartlist_add(new_entry_guards, node);
       smartlist_split_string(args, line->value, " ",
                              SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);

+ 2 - 2
src/or/main.c

@@ -487,8 +487,8 @@ conn_close_if_marked(int i)
       else
         severity = LOG_NOTICE;
       log_fn(severity, LD_NET, "Something wrong with your network connection? "
-             "We tried to write %d bytes to addr %s (fd %d, type %s, state %d) "
-             "but timed out. (Marked at %s:%d)",
+             "We tried to write %d bytes to addr %s (fd %d, type %s, state %d)"
+             " but timed out. (Marked at %s:%d)",
              (int)buf_datalen(conn->outbuf),
              safe_str(conn->address), conn->s, conn_type_to_string(conn->type),
              conn->state,

+ 4 - 3
src/or/rephist.c

@@ -397,9 +397,10 @@ typedef struct bw_array_t {
   uint64_t obs[NUM_SECS_ROLLING_MEASURE];
   int cur_obs_idx; /**< Current position in obs. */
   time_t cur_obs_time; /**< Time represented in obs[cur_obs_idx] */
-  uint64_t total_obs; /**< Total for all members of obs except obs[cur_obs_idx] */
-  uint64_t max_total; /**< Largest value that total_obs has taken on in the current
-                       * period. */
+  uint64_t total_obs; /**< Total for all members of obs except
+                       * obs[cur_obs_idx] */
+  uint64_t max_total; /**< Largest value that total_obs has taken on in the
+                       * current period. */
   uint64_t total_in_period; /**< Total bytes transferred in the current
                              * period. */