mirror of https://github.com/omar-polo/gmid.git
typo; use the `l' variable not `len'
This commit is contained in:
parent
f29d705e04
commit
ab55c7815e
2
ge.c
2
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);
|
||||
|
|
Loading…
Reference in New Issue