summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Mazieres <dm@uun.org>2014-04-13 23:21:52 -0700
committerDavid Mazieres <dm@uun.org>2014-04-13 23:21:52 -0700
commit6bc69d1c738aa6569286e83171567399bd245eeb (patch)
tree91b7394bf1cf6d15ea01ee5e9aa28a205f41145d
parentfd258b6fffd35549bafc88f5b5d28c6c7456f418 (diff)
note bug
-rw-r--r--protocol.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol.cc b/protocol.cc
index 8581e15..a0d0fe8 100644
--- a/protocol.cc
+++ b/protocol.cc
@@ -400,6 +400,7 @@ msg_sync::hash_sync(const versvector &rvv,
i64(sb.st_ino), hashdb.hash_id()).step();
if (isnew) {
new_msgid = true;
+ // XXX tip might be NULL here when undeleting a file
update_message_id_stamp_.reset()
.param(tip->tag_stamp.first, tip->tag_stamp.second, docid).step();
add_tag_.reset().bind_int(1, docid);