Revision 27982661 qemu-nbd.c

b/qemu-nbd.c
458 458
                                             (struct sockaddr *)&addr,
459 459
                                             &addr_len);
460 460
                if (sharing_fds[nb_fds] != -1 &&
461
                    nbd_negotiate(bs, sharing_fds[nb_fds], fd_size) != -1) {
461
                    nbd_negotiate(sharing_fds[nb_fds], fd_size) != -1) {
462 462
                        if (sharing_fds[nb_fds] > max_fd)
463 463
                            max_fd = sharing_fds[nb_fds];
464 464
                        nb_fds++;

Also available in: Unified diff