Fix warning (bad handler prototype) and fix detection of dns_sd
[samba.git] / source / smbd / dnsregister.c
index c092251feec63169a86d09a8143ab7fd0d292d32..6850d1a9c4d3715cec274634ff2090ffc6000018 100644 (file)
@@ -65,7 +65,7 @@ void dns_register_close(struct dns_reg_state **dns_state_ptr)
 
 static void dns_register_smbd_retry(struct event_context *ctx,
                                    struct timed_event *te,
-                                   const struct timeval *now,
+                                   struct timeval now,
                                    void *private_data)
 {
        struct dns_reg_state *dns_state = (struct dns_reg_state *)private_data;