diff options
-rw-r--r-- | source3/web/diagnose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c index 18a87365aa..4a44012705 100644 --- a/source3/web/diagnose.c +++ b/source3/web/diagnose.c @@ -35,7 +35,7 @@ bool winbindd_running(void) bool nmbd_running(void) { struct in_addr loopback_ip; - int count, flags; + int count; struct sockaddr_storage *ss_list; struct sockaddr_storage ss; NTSTATUS status; @@ -46,7 +46,7 @@ bool nmbd_running(void) status = name_query("__SAMBA__", 0, True, True, &ss, talloc_tos(), &ss_list, &count, - &flags); + NULL); if (NT_STATUS_IS_OK(status)) { TALLOC_FREE(ss_list); return True; |