forked from cory/tildefriends
Add a stat for blobs stored.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4133 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -455,9 +455,13 @@ bool tf_ssb_db_blob_store(tf_ssb_t* ssb, const uint8_t* blob, size_t size, char*
|
||||
printf("prepare failed: %s\n", sqlite3_errmsg(db));
|
||||
}
|
||||
|
||||
if (rows && !out_new)
|
||||
if (rows)
|
||||
{
|
||||
printf("blob stored %s %zd => %d\n", id, size, result);
|
||||
tf_ssb_notify_blob_stored(ssb, id);
|
||||
if (!out_new)
|
||||
{
|
||||
printf("blob stored %s %zd => %d\n", id, size, result);
|
||||
}
|
||||
}
|
||||
|
||||
if (result && out_id)
|
||||
|
Reference in New Issue
Block a user