[geary/wip/789924-network-transition: 1/15] Remove tabs from source code.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/789924-network-transition: 1/15] Remove tabs from source code.
- Date: Sun, 12 Nov 2017 11:10:43 +0000 (UTC)
commit abcc2969ecf399236293c788420d5555a308f3df
Author: Michael James Gratton <mike vee net>
Date: Sun Nov 5 16:55:46 2017 +1100
Remove tabs from source code.
.../transport/imap-client-session-manager.vala | 4 ++--
src/engine/util/util-connectivity-manager.vala | 18 +++++++++---------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/engine/imap/transport/imap-client-session-manager.vala
b/src/engine/imap/transport/imap-client-session-manager.vala
index 6bba536..3400dd0 100644
--- a/src/engine/imap/transport/imap-client-session-manager.vala
+++ b/src/engine/imap/transport/imap-client-session-manager.vala
@@ -501,8 +501,8 @@ public class Geary.Imap.ClientSessionManager : BaseObject {
private void on_connectivity_change() {
this.is_endpoint_reachable = this.connectivity.is_reachable;
debug("Host %s became %s",
- this.endpoint.to_string(),
- this.is_endpoint_reachable ? "reachable" : "unreachable");
+ this.endpoint.to_string(),
+ this.is_endpoint_reachable ? "reachable" : "unreachable");
if (this.is_endpoint_reachable) {
this.adjust_session_pool.begin();
}
diff --git a/src/engine/util/util-connectivity-manager.vala b/src/engine/util/util-connectivity-manager.vala
index 22e8e50..464d581 100644
--- a/src/engine/util/util-connectivity-manager.vala
+++ b/src/engine/util/util-connectivity-manager.vala
@@ -45,11 +45,11 @@ public class Geary.ConnectivityManager : BaseObject {
}
/**
- * Starts checking if the manager's endpoint is reachable.
- *
- * This will cancel any existing check, and start a new one
- * running, updating the `is_reachable` property on completion.
- */
+ * Starts checking if the manager's endpoint is reachable.
+ *
+ * This will cancel any existing check, and start a new one
+ * running, updating the `is_reachable` property on completion.
+ */
public async void check_reachable() {
// We use a cancellable here as a guard instead of a boolean
// "is_checking" var since when a series of checks are
@@ -79,7 +79,7 @@ public class Geary.ConnectivityManager : BaseObject {
// just assume the service is reachable is for now. :(
is_reachable = true;
debug("Assuming %s is reachable, despite network unavailability",
- endpoint);
+ endpoint);
} else if (!(err is IOError.CANCELLED)) {
// Service is unreachable
debug("Error checking %s reachable, treating as unreachable: %s",
@@ -95,8 +95,8 @@ public class Geary.ConnectivityManager : BaseObject {
}
/**
- * Cancels any running reachability check, if any.
- */
+ * Cancels any running reachability check, if any.
+ */
public void cancel_check() {
if (this.existing_check != null) {
this.existing_check.cancel();
@@ -108,7 +108,7 @@ public class Geary.ConnectivityManager : BaseObject {
// Always check if reachable because IMAP server could be on
// localhost. (This is a Linux program, after all...)
debug("Network changed: %s",
- some_available ? "some available" : "none available");
+ some_available ? "some available" : "none available");
if (some_available) {
// Some hosts may have dropped out despite network being
// still xavailable, so need to check again
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]