about summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-02 21:34:43 -0400
committerJune McEnroe <june@causal.agency>2021-09-02 21:34:43 -0400
commit9569b2eb98c6dd8015e3a4802184f90d211ea75f (patch)
treeb2d6f1a65355ff856691bf5e272269a6bc21e7e4 /client.c
parentOpenBSD: pledge(2) the genCert code path (diff)
downloadpounce-9569b2eb98c6dd8015e3a4802184f90d211ea75f.tar.gz
pounce-9569b2eb98c6dd8015e3a4802184f90d211ea75f.zip
Remove redundant clientDiff function
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/client.c b/client.c
index 29546f1..bad8c11 100644
--- a/client.c
+++ b/client.c
@@ -423,11 +423,6 @@ void clientRecv(struct Client *client) {
 	memmove(client->buf, line, client->len);
 }
 
-size_t clientDiff(const struct Client *client) {
-	if (client->need) return 0;
-	return ringDiff(client->consumer);
-}
-
 static int wordcmp(const char *line, size_t i, const char *word) {
 	if (line[0] == '@') {
 		line += strcspn(line, " ");