summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-08 11:28:47 +0100
committerVolker Lendecke <vl@samba.org>2011-01-08 11:30:18 +0100
commit849816d0dfa18dad6b972f349c2f1d27e5a70a32 (patch)
tree9e79395b06d75e2ee1bb116b2e7ba7205084b4cb /source3/web
parent5a3bc194add28badcffa27c0a87a7b673d57cbe5 (diff)
downloadsamba-849816d0dfa18dad6b972f349c2f1d27e5a70a32.tar.gz
samba-849816d0dfa18dad6b972f349c2f1d27e5a70a32.tar.bz2
samba-849816d0dfa18dad6b972f349c2f1d27e5a70a32.zip
s3: Fix a type error
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/diagnose.c4
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;