aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/grpc/grpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index a24506a8a5..147343049b 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -120,14 +120,14 @@ typedef struct {
/** Connectivity state of a channel. */
typedef enum {
+ /** channel is idle */
+ GRPC_CHANNEL_IDLE,
/** channel is connecting */
GRPC_CHANNEL_CONNECTING,
/** channel is ready for work */
GRPC_CHANNEL_READY,
/** channel has seen a failure but expects to recover */
GRPC_CHANNEL_TRANSIENT_FAILURE,
- /** channel is idle */
- GRPC_CHANNEL_IDLE,
/** channel has seen a failure that it cannot recover from */
GRPC_CHANNEL_FATAL_FAILURE
} grpc_connectivity_state;