aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Makarand Dharmapurikar <makarandd@makarand-linux.mtv.corp.google.com>2016-06-22 16:17:15 -0700
committerGravatar Makarand Dharmapurikar <makarandd@makarand-linux.mtv.corp.google.com>2016-06-22 16:17:15 -0700
commit932d02725200028415f8420bdaf35d9484f419d4 (patch)
tree81e4ad7245320d192e191ffab9881dd01d5cf3ff /src/core
parent614944324246b2b4eef9fc2e989af20375c49cd5 (diff)
clang-format fixes
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/iomgr/network_status_tracker.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/lib/iomgr/network_status_tracker.c b/src/core/lib/iomgr/network_status_tracker.c
index f4f8e97a25..0e34605c81 100644
--- a/src/core/lib/iomgr/network_status_tracker.c
+++ b/src/core/lib/iomgr/network_status_tracker.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;
@@ -86,9 +86,9 @@ void grpc_network_status_unregister_endpoint(grpc_endpoint *ep) {
endpoint_ll_node *prev = head;
// if we're unregistering the head, just move head to the next
if (ep == head->ep) {
- head = head->next;
- gpr_free(prev);
- found = true;
+ head = head->next;
+ gpr_free(prev);
+ found = true;
} else {
for (endpoint_ll_node *curr = head->next; curr != NULL; curr = curr->next) {
if (ep == curr->ep) {