X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=b9d61c587d3ebfe375963a4ee4d73fc1291fad1f;hp=3501a5df210409029ef954e5ddb4ebdc0b90561c;hb=98b15c02668ea0ef84be6e04daa1838c206658a5;hpb=19d9318abf42debb15d833d4e56ab636893285c3 diff --git a/client_common.c b/client_common.c index 3501a5df..b9d61c58 100644 --- a/client_common.c +++ b/client_common.c @@ -76,6 +76,7 @@ void client_close(struct private_client_data *pcd) free(pcd); } +/* connect to para_server and register the client task */ static int client_connect(struct private_client_data *pcd) { int ret; @@ -374,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);