client: Fix parameter mixup
authorVolker Lendecke <vl@samba.org>
Wed, 2 Dec 2015 07:50:02 +0000 (08:50 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 2 Dec 2015 20:01:14 +0000 (21:01 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11628

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Dec  2 21:01:14 CET 2015 on sn-devel-104

source3/client/dnsbrowse.c

index 03f87afe140031d1640f295246a9c873d55956bf..be6eb881cf1c341e4a6837f19d31638e1ab1e832 100644 (file)
@@ -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;
                }