summary refs log tree commit diff
path: root/ingest.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ingest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ingest.c b/ingest.c
index 1dfae36..67328a8 100644
--- a/ingest.c
+++ b/ingest.c
@@ -107,7 +107,11 @@ int main(void) {
 				continue;
 			}
 
-			// TODO: Send snapshot.
+			error = termSnapshot(client);
+			if (error) {
+				close(client);
+				continue;
+			}
 
 			maxClient++;
 			assert(client == maxClient);