projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gui: Check return value of para_exec_cmdline_pid().
[paraslash.git]
/
gcrypt.c
diff --git
a/gcrypt.c
b/gcrypt.c
index 2f38f1a6cab16e606e3a5704cef61b7cad252b50..d11e94c7a902462e1aacbb407d98be66d8938772 100644
(file)
--- a/
gcrypt.c
+++ b/
gcrypt.c
@@
-951,7
+951,7
@@
int sc_send_bin_buffer(struct stream_cipher_context *scc, char *buf,
gret = gcry_cipher_encrypt(scc->send->handle, tmp, size,
(unsigned char *)buf, size);
assert(gret == 0);
- ret =
write_all(scc->fd, (char *)tmp, &
size);
+ ret =
xwrite(scc->fd, (char *)tmp,
size);
free(tmp);
return ret;
}