summaryrefslogtreecommitdiffstats
path: root/avahi-ui-sharp/bssh.cs
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-ui-sharp/bssh.cs')
-rw-r--r--avahi-ui-sharp/bssh.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/avahi-ui-sharp/bssh.cs b/avahi-ui-sharp/bssh.cs
index 003a3a6..fa3d4d4 100644
--- a/avahi-ui-sharp/bssh.cs
+++ b/avahi-ui-sharp/bssh.cs
@@ -5,8 +5,8 @@ using Avahi.UI;
public class EntryPoint {
public static void Main () {
- Application.Init ();
-
+ Application.Init ();
+
ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null,
Stock.Cancel, ResponseType.Cancel,
Stock.Connect, ResponseType.Accept);
@@ -17,11 +17,11 @@ public class EntryPoint {
Console.WriteLine ("Connecting to {0}:{1}", dialog.Address, dialog.Port);
string user = Environment.UserName;
-
+
foreach (byte[] txtBytes in dialog.TxtData) {
string txt = System.Text.Encoding.UTF8.GetString (txtBytes);
string[] splitTxt = txt.Split(new char[] { '=' }, 2);
-
+
if (splitTxt.Length != 2)
continue;