X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt.c;h=f33f769f6f035c18946c21fea064b37052802583;hp=85ec091d76cf53e99f5bfc1e40eec9c735328a53;hb=f0e41e36c3f1a3a5bb6ff66d92d2814391d8f908;hpb=6934fc28976594d0eb387bfef25cb938c677814c diff --git a/crypt.c b/crypt.c index 85ec091d..f33f769f 100644 --- a/crypt.c +++ b/crypt.c @@ -298,7 +298,7 @@ int sc_send_bin_buffer(struct stream_cipher_context *scc, char *buf, memcpy(remainder, buf + l1, len - l1); RC4(&scc->send->key, len - l1, remainder, tmp + l1); } - ret = write_nonblock(scc->fd, (char *)tmp, len); + ret = xwrite(scc->fd, (char *)tmp, len); free(tmp); return ret; }