diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 22:21:51 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 22:21:51 +0000 |
commit | 99df48d70f10dcf8f95d4684262a3392d72ee9c6 (patch) | |
tree | e3e7768fa327c937e15a35579c8ce3362ff96f51 /buffer-poll.c | |
parent | 28aefe41623daba7685fe54ceb0b6952d5f6d98a (diff) |
Trimify.
Diffstat (limited to 'buffer-poll.c')
-rw-r--r-- | buffer-poll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buffer-poll.c b/buffer-poll.c index 37a6b4c0..25394575 100644 --- a/buffer-poll.c +++ b/buffer-poll.c @@ -1,4 +1,4 @@ -/* $Id: buffer-poll.c,v 1.6 2008-06-18 20:11:25 nicm Exp $ */ +/* $Id: buffer-poll.c,v 1.7 2008-06-18 22:21:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -60,7 +60,7 @@ buffer_poll(struct pollfd *pfd, struct buffer *in, struct buffer *out) buffer_add(in, n); } if (BUFFER_USED(out) > 0 && pfd->revents & POLLOUT) { - n = write(pfd->fd, BUFFER_OUT(out), BUFFER_USED(out)); + n = write(pfd->fd, BUFFER_OUT(out), BUFFER_USED(out)); log_debug("buffer_poll: fd=%d, write=%zd", pfd->fd, n); if (n == -1) { if (errno != EINTR && errno != EAGAIN) |