diff options
author | June McEnroe <june@causal.agency> | 2021-09-02 21:34:43 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-09-02 21:34:43 -0400 |
commit | 9569b2eb98c6dd8015e3a4802184f90d211ea75f (patch) | |
tree | b2d6f1a65355ff856691bf5e272269a6bc21e7e4 /client.c | |
parent | OpenBSD: pledge(2) the genCert code path (diff) | |
download | pounce-9569b2eb98c6dd8015e3a4802184f90d211ea75f.tar.gz pounce-9569b2eb98c6dd8015e3a4802184f90d211ea75f.zip |
Remove redundant clientDiff function
Diffstat (limited to '')
-rw-r--r-- | client.c | 5 |
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, " "); |