aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-23 21:03:24 +0000
committerOmar Polo <op@omarpolo.com>2023-06-23 21:03:24 +0000
commitab55c7815e8e749e775d95c26f0e217744949285 (patch)
tree4c372aa954a6f8d288fd00631423405d2a7d6cb2 /ge.c
parentf29d705e04b5fdb74980622803ddff3adb9fb09d (diff)
typo; use the `l' variable not `len'
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ge.c b/ge.c
index 546238c..0f4694d 100644
--- a/ge.c
+++ b/ge.c
@@ -81,7 +81,7 @@ log_request(struct client *c, char *meta, size_t l)
}
if ((t = memchr(meta, '\r', l)) == NULL)
- t = meta + len;
+ t = meta + l;
fprintf(stderr, "%s:%s GET %s %.*s\n", hbuf, sbuf, b,
(int)(t-meta), meta);