From 9855c1b1548c3cfddd548527f96fe2b470965247 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 6 Nov 2011 14:37:56 +0000 Subject: [PATCH] Fix build. Closes #403 --- SparkleLib/SparkleFetcherBase.cs | 2 +- SparkleLib/SparkleListenerBase.cs | 2 +- SparkleLib/SparkleRepoBase.cs | 2 +- SparkleShare/Mac/SparkleShare.csproj | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 SparkleShare/Mac/SparkleShare.csproj diff --git a/SparkleLib/SparkleFetcherBase.cs b/SparkleLib/SparkleFetcherBase.cs index f60a6a0d..bc2adf2d 100755 --- a/SparkleLib/SparkleFetcherBase.cs +++ b/SparkleLib/SparkleFetcherBase.cs @@ -202,7 +202,7 @@ namespace SparkleLib { new_ssh_config += line + Environment.NewLine; } - if (string.IsNullOrWhiteSpace (new_ssh_config)) { + if (string.IsNullOrEmpty (new_ssh_config.Trim ())) { File.Delete (ssh_config_file_path); } else { diff --git a/SparkleLib/SparkleListenerBase.cs b/SparkleLib/SparkleListenerBase.cs index aeb4a004..39c39c1f 100755 --- a/SparkleLib/SparkleListenerBase.cs +++ b/SparkleLib/SparkleListenerBase.cs @@ -177,7 +177,7 @@ namespace SparkleLib { if (this.queue_up.Count > 0) { SparkleHelpers.DebugInfo ("Listener", "Delivering " + this.queue_up.Count + " queued messages..."); - foreach (SparkleAnnouncement announcement in this.queue_up.GetRange(0, this.queue_up.Count)) { + foreach (SparkleAnnouncement announcement in this.queue_up.GetRange (0, this.queue_up.Count)) { AnnounceBase (announcement); this.queue_up.Remove (announcement); } diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index d32548f0..9168db04 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -112,7 +112,7 @@ namespace SparkleLib { SyncDownBase (); string message; - while ((message = this.listener.NextQueueDownMessage (identifier)) != null) { + while ((message = this.listener.NextQueueDownMessage (Identifier)) != null) { if (!message.Equals (CurrentRevision)) SyncDownBase (); } diff --git a/SparkleShare/Mac/SparkleShare.csproj b/SparkleShare/Mac/SparkleShare.csproj old mode 100755 new mode 100644 index d9c0e8f1..abcd9ac1 --- a/SparkleShare/Mac/SparkleShare.csproj +++ b/SparkleShare/Mac/SparkleShare.csproj @@ -6,7 +6,7 @@ 10.0.0 2.0 {CF5BC8DB-A633-4FCC-8A3E-E3AC9B59FABC} - {1C533B1C-72DD-4CB1-9F6B-BF11D93BCFBE};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Exe SparkleShare SparkleShare @@ -114,7 +114,7 @@ - +