allow varags for the TXT data in AddService
authorJames Willcox <snopr@snorp.net>
Mon, 12 Sep 2005 23:04:37 +0000 (23:04 +0000)
committerJames Willcox <snopr@snorp.net>
Mon, 12 Sep 2005 23:04:37 +0000 (23:04 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@570 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-sharp/EntryGroup.cs

index aa97dbd..92bfd4e 100644 (file)
@@ -124,7 +124,7 @@ namespace Avahi
         }
 
         public void AddService (int iface, Protocol proto, string name, string type, string domain,
-                                string host, UInt16 port, string[] txt)
+                                string host, UInt16 port, params string[] txt)
         {
             IntPtr list = avahi_string_list_new (IntPtr.Zero);