summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-24 00:44:21 -0400
committerJune McEnroe <june@causal.agency>2019-10-24 00:44:21 -0400
commitf69cb8296624e8e2c495001ab0c7d38839ad9704 (patch)
tree888d261a9539202592c6a499f346bad3b9d71fc9 /server.c
parentMake clientFormat public (diff)
downloadpounce-f69cb8296624e8e2c495001ab0c7d38839ad9704.tar.gz
pounce-f69cb8296624e8e2c495001ab0c7d38839ad9704.zip
Implement ringWrite
Diffstat (limited to '')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 5e23a71..5bdef6b 100644
--- a/server.c
+++ b/server.c
@@ -185,7 +185,7 @@ void serverRecv(void) {
 			line[1] = 'O';
 			serverFormat("%s\r\n", line);
 		} else {
-			// TODO: Add line to ring if stateReady().
+			if (stateReady()) ringWrite(line);
 			stateParse(line);
 		}