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 /gmid.c | |
parent | f29d705e04b5fdb74980622803ddff3adb9fb09d (diff) |
typo; use the `l' variable not `len'
Diffstat (limited to 'gmid.c')
-rw-r--r-- | gmid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ log_request(struct client *c, char *meta, size_t l) } if ((t = memchr(meta, '\r', l)) == NULL) - t = meta + len; + t = meta + l; ec = asprintf(&fmted, "%s:%s GET %s %.*s", hbuf, sbuf, b, (int)(t-meta), meta); |