[PATCH] client: Fix parameter mixup
Volker Lendecke
Volker.Lendecke at SerNet.DE
Wed Dec 2 10:53:45 UTC 2015
Hi!
Review appreciated!
Thanks, Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From ac91cd7b0a4f48f2cdcb6a3c81e7a71942bcee47 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Wed, 2 Dec 2015 08:50:02 +0100
Subject: [PATCH] client: Fix parameter mixup
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11628
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/client/dnsbrowse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/client/dnsbrowse.c b/source3/client/dnsbrowse.c
index 03f87af..be6eb88 100644
--- a/source3/client/dnsbrowse.c
+++ b/source3/client/dnsbrowse.c
@@ -168,7 +168,7 @@ int do_smb_browse(void)
for (;;) {
int revents;
- ret = poll_one_fd(mdnsfd, POLLIN|POLLHUP, &revents, 1000);
+ ret = poll_one_fd(mdnsfd, POLLIN|POLLHUP, 1000, &revents);
if (ret <= 0 && errno != EINTR) {
break;
}
--
1.9.1
More information about the samba-technical
mailing list