clang-format fixes

pull/6973/head
Makarand Dharmapurikar 9 years ago
parent 6149443242
commit 932d027252
  1. 4
      src/core/lib/iomgr/network_status_tracker.c
  2. 1
      test/core/end2end/tests/network_status_change.c

@ -31,9 +31,9 @@
*
*/
#include "src/core/lib/iomgr/endpoint.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/iomgr/endpoint.h"
typedef struct endpoint_ll_node {
grpc_endpoint *ep;
@ -51,7 +51,7 @@ void grpc_initialize_network_status_monitor() {
}
void grpc_destroy_network_status_monitor() {
for (endpoint_ll_node *curr = head; curr != NULL; ) {
for (endpoint_ll_node *curr = head; curr != NULL;) {
endpoint_ll_node *next = curr->next;
gpr_free(curr);
curr = next;

@ -217,7 +217,6 @@ static void test_invoke_network_status_change(grpc_end2end_test_config config) {
GPR_ASSERT(0 == strcmp(call_details.host, "foo.test.google.fr"));
GPR_ASSERT(was_cancelled == 0);
gpr_free(details);
grpc_metadata_array_destroy(&initial_metadata_recv);
grpc_metadata_array_destroy(&trailing_metadata_recv);

Loading…
Cancel
Save