diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-23 21:03:24 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-23 21:03:24 +0000 |
commit | ab55c7815e8e749e775d95c26f0e217744949285 (patch) | |
tree | 4c372aa954a6f8d288fd00631423405d2a7d6cb2 /ge.c | |
parent | f29d705e04b5fdb74980622803ddff3adb9fb09d (diff) |
typo; use the `l' variable not `len'
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |