From 0594ac9ba0f38944ef810b5ac48a2067b1ce5a09 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 11 Jan 2022 08:00:10 +0000
Subject: [PATCH] Copied libcurl's ftp example

---
 test.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/test.cpp b/test.cpp
index 843cbe3..68371ea 100644
--- a/test.cpp
+++ b/test.cpp
@@ -2,11 +2,14 @@
 #include "json.hpp"
 #include "protocol.hpp"
 #include <chrono>
+#include <unistd.h>
+#include <unordered_map>
 
 int main(void)
 {
 	// book::Book b = book::testBook(10, true);
-	auto bs = protocol::recoverBook();
+    auto bs = protocol::recoverBook();
+    protocol::catchUp(bs);
 	std::cout << bs.size() << std::endl;
 	for (auto i : bs) {
 		std::cout << i.first << std::endl;

--
Gitblit v1.9.3