summaryrefslogtreecommitdiff
path: root/src/analysis/db/misc/snapshot.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-10-19 13:59:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-10-19 13:59:28 (GMT)
commitf2c79b92f09fa796afe66d5886e678e9a7275ac1 (patch)
tree57711360e410906cba0d4df7f5db9525f2ec68bd /src/analysis/db/misc/snapshot.c
parent0ecc100b14a4caae91698ad6b0ce42e8734126df (diff)
Initialized exchange strings with a new function.
Diffstat (limited to 'src/analysis/db/misc/snapshot.c')
-rw-r--r--src/analysis/db/misc/snapshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/db/misc/snapshot.c b/src/analysis/db/misc/snapshot.c
index 9aa096f..c441ead 100644
--- a/src/analysis/db/misc/snapshot.c
+++ b/src/analysis/db/misc/snapshot.c
@@ -427,7 +427,7 @@ bool unpack_snapshot_info(snapshot_info_t *info, packed_buffer *pbuf)
if (result)
{
- init_static_rle_string(&string, NULL);
+ setup_empty_rle_string(&string);
result = unpack_rle_string(&string, pbuf);
@@ -442,7 +442,7 @@ bool unpack_snapshot_info(snapshot_info_t *info, packed_buffer *pbuf)
if (result)
{
- init_static_rle_string(&string, NULL);
+ setup_empty_rle_string(&string);
result = unpack_rle_string(&string, pbuf);