Pārlūkot izejas kodu

r19062@catbus: nickm | 2008-03-26 12:56:25 -0400
Fix whitespace


svn:r14197

Nick Mathewson 16 gadi atpakaļ
vecāks
revīzija
762d82cf74
4 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 1 0
      src/common/memarea.c
  2. 1 0
      src/common/memarea.h
  3. 3 2
      src/or/routerparse.c
  4. 0 1
      src/or/test.c

+ 1 - 0
src/common/memarea.c

@@ -209,3 +209,4 @@ memarea_assert_ok(memarea_t *area)
     tor_assert(chunk->next_mem <= chunk->u.mem+chunk->mem_size+MEMAREA_ALIGN);
   }
 }
+

+ 1 - 0
src/common/memarea.h

@@ -20,3 +20,4 @@ char *memarea_strndup(memarea_t *area, const char *s, size_t n);
 void memarea_assert_ok(memarea_t *area);
 
 #endif
+

+ 3 - 2
src/or/routerparse.c

@@ -121,7 +121,7 @@ typedef struct directory_token_t {
   directory_keyword tp;        /**< Type of the token. */
   int n_args:30;               /**< Number of elements in args */
   char **args;                 /**< Array of arguments from keyword line. */
-  
+
   char *object_type;           /**< -----BEGIN [object_type]-----*/
   size_t object_size;          /**< Bytes in object_body */
   char *object_body;           /**< Contents of object, base64-decoded. */
@@ -1979,7 +1979,8 @@ networkstatus_v2_parse_from_string(const char *s)
   memarea_clear(area);
   while (!strcmpstart(s, "r ")) {
     routerstatus_t *rs;
-    if ((rs = routerstatus_parse_entry_from_string(area, &s, tokens, NULL, NULL, 0)))
+    if ((rs = routerstatus_parse_entry_from_string(area, &s, tokens,
+                                                   NULL, NULL, 0)))
       smartlist_add(ns->entries, rs);
   }
   smartlist_sort(ns->entries, _compare_routerstatus_entries);

+ 0 - 1
src/or/test.c

@@ -619,7 +619,6 @@ test_crypto(void)
   test_eq(15, crypto_pk_private_decrypt(pk2, data3, data1, 128,
                                         PK_PKCS1_OAEP_PADDING,1));
 
-
   /* Now try signing. */
   strlcpy(data1, "Ossifrage", 1024);
   test_eq(128, crypto_pk_private_sign(pk1, data2, data1, 10));