]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 d228f99c559ee30500631c5e304151b1935ae5f6..b9d61c587d3ebfe375963a4ee4d73fc1291fad1f 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);