From f74ca1c236e52ff4ca60ce97170f61b490047a89 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 2 Nov 2024 16:32:05 -0400 Subject: [PATCH] test: Remove some debug prints, whoops. --- src/httpd.js.c | 3 +-- src/ssb.db.c | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/httpd.js.c b/src/httpd.js.c index 98e4d97b..c824fc3f 100644 --- a/src/httpd.js.c +++ b/src/httpd.js.c @@ -1077,8 +1077,7 @@ static void _httpd_endpoint_view_work(tf_ssb_t* ssb, void* user_data) } else { - bool result = tf_ssb_db_blob_get(ssb, blob_id, (uint8_t**)&view->data, &view->size); - tf_printf("ssb=%p result=%d blob_id=[%s] data=%p size=%zd\n", ssb, result, blob_id, view->data, view->size); + tf_ssb_db_blob_get(ssb, blob_id, (uint8_t**)&view->data, &view->size); } } } diff --git a/src/ssb.db.c b/src/ssb.db.c index c359d6de..0dad2091 100644 --- a/src/ssb.db.c +++ b/src/ssb.db.c @@ -638,10 +638,6 @@ bool tf_ssb_db_blob_get(tf_ssb_t* ssb, const char* id, uint8_t** out_blob, size_ } result = true; } - else - { - tf_printf("OOPS %s\n", sqlite3_errmsg(db)); - } sqlite3_finalize(statement); } tf_ssb_release_db_reader(ssb, db);