Fix off-by-one token pointer in restore_tree

This commit is contained in:
Bastien Dejean 2015-12-05 19:33:09 +01:00
parent 98e30c5fc2
commit 0d985477c6

View file

@ -121,7 +121,6 @@ bool restore_tree(const char *file_path)
for (int j = 0; j < s; j++) { for (int j = 0; j < s; j++) {
monitor_t *m = restore_monitor(&t, json); monitor_t *m = restore_monitor(&t, json);
add_monitor(m); add_monitor(m);
t++;
} }
} }
t++; t++;