client_common.c: Kill invalid FIXME.
authorAndre Noll <maan@systemlinux.org>
Sat, 22 Dec 2007 12:54:58 +0000 (13:54 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 22 Dec 2007 12:54:58 +0000 (13:54 +0100)
Short writes can not happen here.

client_common.c

index d228f99..b9d61c5 100644 (file)
@@ -375,7 +375,7 @@ void client_post_select(struct sched *s, struct task *t)
                t->ret = send_bin_buffer(pcd->fd, pcd->inbuf, *pcd->in_loaded);
                if (t->ret < 0)
                        return;
-               *pcd->in_loaded = 0; /* FIXME: short writes */
+               *pcd->in_loaded = 0;
                return;
        case CL_RECEIVING:
                t->ret = client_recv_buffer(pcd);