diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-02-23 22:56:59 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-02-23 22:56:59 (GMT) |
commit | a5cd2e6519456f49a0f0d9d76dfac0ff89d8bbb1 (patch) | |
tree | cc5c0d06836f132ba559eacf4323ce56b67e9d47 /src/analysis/db/misc | |
parent | 08f3cc8d6262c9b5412a008c6210e88cd840da85 (diff) |
Fixed a bug: do not close the connection after the initial handshake.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@478 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/db/misc')
-rw-r--r-- | src/analysis/db/misc/rlestr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis/db/misc/rlestr.c b/src/analysis/db/misc/rlestr.c index d75e7ab..631b1e9 100644 --- a/src/analysis/db/misc/rlestr.c +++ b/src/analysis/db/misc/rlestr.c @@ -331,7 +331,7 @@ bool send_rle_string(const rle_string *str, int fd, int flags) { bool status; /* Bilan d'une opération */ - status = safe_send(fd, (uint32_t []) { htobe32(str->length) }, sizeof(uint32_t), flags); + status = safe_send(fd, (uint32_t []) { htobe32(str->length) }, sizeof(uint32_t), MSG_MORE | flags); if (!status) return false; if (str->length > 0) |