projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for byterange requests in the storage layer.
[bluesky.git]
/
bluesky
/
imap.c
diff --git
a/bluesky/imap.c
b/bluesky/imap.c
index
9b5f8e3
..
1b9feb8
100644
(file)
--- a/
bluesky/imap.c
+++ b/
bluesky/imap.c
@@
-315,6
+315,10
@@
gboolean bluesky_checkpoint_load(BlueSkyFS *fs)
len -= size;
}
+ if (checkpoint_size == 0) {
+ g_error("Unable to locate checkpoint record!\n");
+ }
+
g_print("Found checkpoint record at %zd (size %zd)\n",
checkpoint - last->data, checkpoint_size);