X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=5ac1cdb77ced80efe804c7017d9f4ec7a03bc940;hp=bb421e3ab81c3a28a724f89c84a8c24f993d86e0;hb=c59730ef3c559fd79784c55153410db592eebd68;hpb=ca059ef393a5ea00c3318314b3de5229f9fd7ea0 diff --git a/client_common.c b/client_common.c index bb421e3a..5ac1cdb7 100644 --- a/client_common.c +++ b/client_common.c @@ -218,8 +218,7 @@ static void client_post_select(struct sched *s, struct task *t) SESSION_KEY_LEN); hash_to_asc(challenge_hash, buf); PARA_INFO_LOG("--> %s\n", buf); - ret = send_bin_buffer(ct->scc.fd, (char *)challenge_hash, - HASH_SIZE); + ret = write_all(ct->scc.fd, (char *)challenge_hash, HASH_SIZE); if (ret < 0) goto out; ct->status = CL_SENT_CH_RESPONSE;