From 9c3e6b4ccccd334ffb130c09091e7de01f0b7ca1 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 6 Aug 2019 13:18:39 +0100 Subject: [PATCH] Remove debug printfs. --- src/db_dump/db_dump.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/db_dump/db_dump.c b/src/db_dump/db_dump.c index 5928017e..45eb80a6 100644 --- a/src/db_dump/db_dump.c +++ b/src/db_dump/db_dump.c @@ -203,7 +203,6 @@ static int dump__client_msg_chunk_process(struct mosquitto_db *db, FILE *db_fd, if(client_stats){ HASH_FIND(hh_id, clients_by_id, chunk.client_id, strlen(chunk.client_id), cc); if(cc){ - printf("FOUND %s\n", chunk.client_id); cc->messages++; cc->message_size += length; @@ -301,7 +300,6 @@ static int dump__msg_store_chunk_process(struct mosquitto_db *db, FILE *db_fptr, } mcs->store_id = chunk.F.store_id; mcs->length = length; - printf("ADD msgs %" PRIu64 "\n", mcs->store_id); HASH_ADD(hh, msgs_by_id, store_id, sizeof(dbid_t), mcs); } @@ -361,7 +359,6 @@ static int dump__sub_chunk_process(struct mosquitto_db *db, FILE *db_fd, uint32_ if(client_stats){ HASH_FIND(hh_id, clients_by_id, chunk.client_id, strlen(chunk.client_id), cc); if(cc){ - printf("FOUND S %s\n", chunk.client_id); cc->subscriptions++; cc->subscription_size += length; }