]> git.meshlink.io Git - catta/blobdiff - avahi-sharp/EntryGroup.cs
update TODO
[catta] / avahi-sharp / EntryGroup.cs
index aa97dbda2adac0b21e5df4ee6a596ca3c75017b3..d69e8a635925d0dddffb531da88c35ac5aecce86 100644 (file)
@@ -118,13 +118,13 @@ namespace Avahi
         }
 
         public void AddService (string name, string type, string domain,
-                                UInt16 port, string[] txt)
+                                UInt16 port, params string[] txt)
         {
             AddService (-1, Protocol.Unspecified, name, type, domain, null, port, txt);
         }
 
         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);