mirror of https://github.com/omar-polo/gmid.git
fmt
This commit is contained in:
parent
b4c6cd9768
commit
807a80cb9e
2
server.c
2
server.c
|
@ -969,7 +969,7 @@ client_read(struct bufferevent *bev, void *d)
|
|||
if (!parse_iri(c->req, &c->iri, &parse_err) ||
|
||||
!puny_decode(c->iri.host, decoded, sizeof(decoded), &parse_err)) {
|
||||
log_err(c, "IRI parse error: %s", parse_err);
|
||||
start_reply(c, BAD_REQUEST, "bad request");
|
||||
start_reply(c, BAD_REQUEST, "bad request");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue