Преглед изворни кода

dircache: fix identation and remove unneded goto

juga0 пре 6 година
родитељ
комит
da7a8d7624
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      src/test/test_dir_handle_get.c

+ 8 - 8
src/test/test_dir_handle_get.c

@@ -2548,14 +2548,14 @@ test_dir_handle_get_status_vote_next_bandwidth(void* data)
    * If it would, the size and content would be different than the original.
   */
 
-  done:
-    UNMOCK(get_options);
-    UNMOCK(connection_write_to_buf_impl_);
-    connection_free_minimal(TO_CONN(conn));
-    tor_free(header);
-    tor_free(body);
-    tor_free(expires);
-    or_options_free(mock_options); mock_options = NULL;
+ done:
+  UNMOCK(get_options);
+  UNMOCK(connection_write_to_buf_impl_);
+  connection_free_minimal(TO_CONN(conn));
+  tor_free(header);
+  tor_free(body);
+  tor_free(expires);
+  or_options_free(mock_options);
 }
 
 static void