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 | 58b8032f152ca7e59465fada2abde09fb83aa841 (patch) | |
tree | abdd3400be2589046f1e65756b0bcd70bb17fd80 /pkgtools | |
parent | ba1dbb51edae087e51ad8a9f3a8d561a8314529d (diff) | |
download | pkgsrc-58b8032f152ca7e59465fada2abde09fb83aa841.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, |