summaryrefslogtreecommitdiff
path: root/src/analysis/db/server.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2022-02-21 06:54:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2022-02-21 06:54:10 (GMT)
commit8bf77ba6e5ef40d8bb936dc952ac2c8cc30aab3e (patch)
tree934661f2f30e0b8d23793f52084c736052e85f7c /src/analysis/db/server.c
parent8ce244d136b32b43d8553866747c68b503b2d10a (diff)
Make the server drive the network exchanges.
Diffstat (limited to 'src/analysis/db/server.c')
-rw-r--r--src/analysis/db/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/db/server.c b/src/analysis/db/server.c
index 5c6fd18..79d5df1 100644
--- a/src/analysis/db/server.c
+++ b/src/analysis/db/server.c
@@ -1088,6 +1088,8 @@ static GServerBackend *g_hub_server_handle_analyst(GHubServer *server, packed_bu
/* Fin de réception des données envoyées */
+ setup_empty_rle_string(&hash);
+
status = unpack_rle_string(&hash, in_pbuf);
if (!status)
{
@@ -1101,6 +1103,8 @@ static GServerBackend *g_hub_server_handle_analyst(GHubServer *server, packed_bu
goto wrong_receiving_0;
}
+ setup_empty_rle_string(&class);
+
status = unpack_rle_string(&class, in_pbuf);
if (!status)
{