diff options
Diffstat (limited to 'writef.c')
| -rw-r--r-- | writef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writef.c b/writef.c index a2283b9..315eaa9 100644 --- a/writef.c +++ b/writef.c @@ -60,7 +60,7 @@ writechanf(const struct Peer *except, const struct Channel *channel, const char count = 0; for (i = 0; i < channel->peers_c; ++i) - if (!except || channel->peers[i].p->fd != except->fd) + if (!except || channel->peers[i].p != except) count += write(channel->peers[i].p->fd, buf, written) == written; return count; |