]> git.meshlink.io Git - catta/commitdiff
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 aa97dbda2adac0b21e5df4ee6a596ca3c75017b3..92bfd4e07f065bd80ebe5182d9475ae2537049ea 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);