summary refs log tree commit diff
path: root/ingest.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-08-01 16:46:54 -0400
committerJune McEnroe <june@causal.agency>2019-08-01 16:46:54 -0400
commitb33d011b79b777c0d51a59b13a4229839a6a77dd (patch)
tree9b8789e53288fbbb9ddddc3188360a06e381c1ed /ingest.c
parentFactor out SGR handling (diff)
downloadstream-b33d011b79b777c0d51a59b13a4229839a6a77dd.tar.gz
stream-b33d011b79b777c0d51a59b13a4229839a6a77dd.zip
Implement termSnapshot
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);