Skip to content

Commit 674f125

Browse files
author
Michael Fero
committed
Correcting indentation in example
1 parent 9f6d397 commit 674f125

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cpp-driver/examples/host_listener/host_listener.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ void on_host_listener(CassHostListenerEvent event, CassInet inet, void* data) {
7272
cass_inet_string(inet, address);
7373
if (event == CASS_HOST_LISTENER_EVENT_ADD) {
7474
printf("Host %s has been ADDED\n", address);
75-
} else if (event == CASS_HOST_LISTENER_EVENT_REMOVE) {
75+
} else if (event == CASS_HOST_LISTENER_EVENT_REMOVE) {
7676
printf("Host %s has been REMOVED\n", address);
77-
} else if (event == CASS_HOST_LISTENER_EVENT_UP) {
77+
} else if (event == CASS_HOST_LISTENER_EVENT_UP) {
7878
printf("Host %s is UP\n", address);
79-
} else if (event == CASS_HOST_LISTENER_EVENT_DOWN) {
79+
} else if (event == CASS_HOST_LISTENER_EVENT_DOWN) {
8080
printf("Host %s is DOWN\n", address);
81-
}
81+
}
8282
}
8383

8484
int main(int argc, char* argv[]) {

0 commit comments

Comments
 (0)