diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-25 03:10:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-25 03:11:20 +0200 |
commit | 908e491f7d55209acfbb2595ab1ef5b24502d641 (patch) | |
tree | e3922a11db074e6a99045797cf9c1c69fe23f738 /avahi-ui-sharp/bssh.cs | |
parent | 2b2844b10d7b7e5c97f9c667d664d9418bb7769a (diff) |
get rid of a lot of old svn cruft
Diffstat (limited to 'avahi-ui-sharp/bssh.cs')
-rw-r--r-- | avahi-ui-sharp/bssh.cs | 8 |
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; |