diff options
author | June McEnroe <june@causal.agency> | 2019-10-24 00:44:21 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-24 00:44:21 -0400 |
commit | f69cb8296624e8e2c495001ab0c7d38839ad9704 (patch) | |
tree | 888d261a9539202592c6a499f346bad3b9d71fc9 /server.c | |
parent | Make clientFormat public (diff) | |
download | pounce-f69cb8296624e8e2c495001ab0c7d38839ad9704.tar.gz pounce-f69cb8296624e8e2c495001ab0c7d38839ad9704.zip |
Implement ringWrite
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
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); } |