summaryrefslogtreecommitdiffstats
path: root/src/sessionp.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-03-31 09:29:12 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-03-31 09:29:12 +0200
commite51a2d7c4887f299a91e3cf266c0b180bee9e336 (patch)
tree7c3293eccfd035f4d991c5b4133dfc267367951b /src/sessionp.c
parent03fae6a4c762ad62b26dbc7d87279142f5cf8922 (diff)
When splitting block, define them as holding data
Diffstat (limited to 'src/sessionp.c')
-rw-r--r--src/sessionp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sessionp.c b/src/sessionp.c
index 0abfcec..a399e8d 100644
--- a/src/sessionp.c
+++ b/src/sessionp.c
@@ -148,6 +148,7 @@ int session_load(char **cmd_device, char **current_cmd, alloc_data_t *list_free_
new_free_space->start=start;
new_free_space->end=end;
new_free_space->file_stat=NULL;
+ new_free_space->data=1;
td_list_add_tail(&new_free_space->list, &list_free_space->list);
#ifdef DEBUG
log_trace(">%lu-%lu<\n", start, end);