diff options
author | June McEnroe <june@causal.agency> | 2019-08-01 16:46:54 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-01 16:46:54 -0400 |
commit | b33d011b79b777c0d51a59b13a4229839a6a77dd (patch) | |
tree | 9b8789e53288fbbb9ddddc3188360a06e381c1ed /ingest.c | |
parent | Factor out SGR handling (diff) | |
download | stream-b33d011b79b777c0d51a59b13a4229839a6a77dd.tar.gz stream-b33d011b79b777c0d51a59b13a4229839a6a77dd.zip |
Implement termSnapshot
Diffstat (limited to '')
-rw-r--r-- | ingest.c | 6 |
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); |