git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a3bc19
)
s3: Fix a type error
author
Volker Lendecke
<vl@samba.org>
Sat, 8 Jan 2011 10:28:47 +0000
(11:28 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 8 Jan 2011 10:30:18 +0000
(11:30 +0100)
source3/web/diagnose.c
patch
|
blob
|
history
diff --git
a/source3/web/diagnose.c
b/source3/web/diagnose.c
index 18a87365aaba87c05cea02c83b3031e63be4d6bd..4a44012705ba57d67dc309fe511732cf57da5533 100644
(file)
--- 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;