]> git.meshlink.io Git - catta/blobdiff - avahi-core/core.h
Fix no network interface bug reported by Lathiat
[catta] / avahi-core / core.h
index 1f2dda951c627ef33538673ecd41304cec0261fb..b8ee91a646f9373ae174399953f236211793e8f2 100644 (file)
@@ -91,7 +91,7 @@ typedef struct AvahiServerConfig {
 
 /** Allocate a new mDNS responder object. */
 AvahiServer *avahi_server_new(
-    AvahiPoll *api,                /**< The main loop adapter */
+    const AvahiPoll *api,          /**< The main loop adapter */
     const AvahiServerConfig *sc,   /**< If non-NULL a pointer to a configuration structure for the server. The server makes an internal deep copy of this structure, so you may free it using avahi_server_config_done() immediately after calling this function. */
     AvahiServerCallback callback,  /**< A callback which is called whenever the state of the server changes */
     void* userdata,                /**< An opaque pointer which is passed to the callback function */