summaryrefslogtreecommitdiffstats
path: root/avahi-sharp/AddressResolver.cs
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-sharp/AddressResolver.cs')
-rw-r--r--avahi-sharp/AddressResolver.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/avahi-sharp/AddressResolver.cs b/avahi-sharp/AddressResolver.cs
index 3025102..c11e97d 100644
--- a/avahi-sharp/AddressResolver.cs
+++ b/avahi-sharp/AddressResolver.cs
@@ -1,5 +1,3 @@
-/* $Id$ */
-
/***
This file is part of avahi.
@@ -55,7 +53,7 @@ namespace Avahi
this.address = address;
}
}
-
+
public class AddressResolver : ResolverBase, IDisposable
{
private IntPtr handle;
@@ -71,7 +69,7 @@ namespace Avahi
private ArrayList foundListeners = new ArrayList ();
private ArrayList timeoutListeners = new ArrayList ();
-
+
[DllImport ("avahi-client")]
private static extern IntPtr avahi_address_resolver_new (IntPtr client, int iface, Protocol proto,
IntPtr address, LookupFlags flags,
@@ -92,7 +90,7 @@ namespace Avahi
Stop (false);
}
}
-
+
public event EventHandler Timeout
{
add {
@@ -155,7 +153,7 @@ namespace Avahi
if (handle == IntPtr.Zero)
client.ThrowError ();
}
-
+
Utility.Free (addrPtr);
}