diff options
author | joerg <joerg@pkgsrc.org> | 2015-10-22 19:57:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-10-22 19:57:47 +0000 |
commit | 90202f166ff0852a05a636a8342bf20df1be7de0 (patch) | |
tree | abdd3400be2589046f1e65756b0bcd70bb17fd80 /pkgtools | |
parent | d0ba813ad04fd2c8a43fd12830d5d7081e16f9d2 (diff) | |
download | pkgsrc-90202f166ff0852a05a636a8342bf20df1be7de0.tar.gz |
Fix missing change from the machine the scan change was tested on.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pbulk/files/pbulk/pscan/master.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgtools/pbulk/files/pbulk/pscan/master.c b/pkgtools/pbulk/files/pbulk/pscan/master.c index 21ddb975106..c7525b41040 100644 --- a/pkgtools/pbulk/files/pbulk/pscan/master.c +++ b/pkgtools/pbulk/files/pbulk/pscan/master.c @@ -1,4 +1,4 @@ -/* $NetBSD: master.c,v 1.9 2015/10/21 23:03:17 joerg Exp $ */ +/* $NetBSD: master.c,v 1.10 2015/10/22 19:57:47 joerg Exp $ */ /*- * Copyright (c) 2007, 2009 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -162,8 +162,7 @@ shutdown_master(void) event_del(&listen_event); (void)close(listen_event_socket); LIST_FOREACH(peer, &inactive_peers, peer_link) { - (void)shutdown(peer->fd, SHUT_RDWR); - uint16_t net_job_len = htons(job_len); + uint16_t net_job_len = htons(0); (void)memcpy(peer->tmp_buf, &net_job_len, 2); deferred_write(peer->fd, peer->tmp_buf, 2, peer, do_nothing, |