Skip to content

Commit d9be55b

Browse files
committed
remove extra slash in stats output
1 parent b3d84f8 commit d9be55b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/http_respond.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ state_action http_respond_stats(int epfd, cache_connection* connection){
8181

8282
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Keys: %" PRIu64 "\r\n", details->db_keys);
8383
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Size Bytes: %" PRIu64 "\r\n", details->db_size_bytes);
84-
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Blocks Free: %" PRIu32 "/%" PRIu32 "/\r\n", details->blocks_free, details->blocks_exist);
84+
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Blocks Free: %" PRIu32 "/%" PRIu32 "\r\n", details->blocks_free, details->blocks_exist);
8585
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Stats Deletes: %" PRIu64 "\r\n", details->db_stats_deletes);
8686
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Stats Gets: %" PRIu64 "\r\n", details->db_stats_gets);
8787
stat_ptr += snprintf(stat_ptr, sizeof(stat_buffer) - (stat_ptr - stat_buffer), "DB Stats Inserts: %" PRIu64 "\r\n", details->db_stats_inserts);

0 commit comments

Comments
 (0)