Commit Diff


commit - 35adaaa9398cb80c6f9d2797b92e2c8460faaacc
commit + a28d3461daa190bf043aac55bd926a5c2a4a142c
blob - 5bc56b3258bf39b256e0a965e72d253ddaac5605
blob + baec053dc13ea92e5fec6770f8da24d9247952a9
--- proxy.c
+++ proxy.c
@@ -335,7 +335,7 @@ proxy_translate_gemtext(struct client *clt)
 }
 
 static struct proxy_config *
-proxy_server_match(struct galileo *env, struct client *clt)
+proxy_match(struct galileo *env, struct client *clt)
 {
 	struct proxy		*pr;
 
@@ -358,7 +358,7 @@ proxy_start_request(struct galileo *env, struct client
 	int			 r;
 	char			*url;
 
-	if ((clt->clt_pc = proxy_server_match(env, clt)) == NULL) {
+	if ((clt->clt_pc = proxy_match(env, clt)) == NULL) {
 		if (proxy_start_reply(clt, 501, "text/html") == -1)
 			return (-1);
 		if (tp_error(clt->clt_tp, -1, "unknown server") == -1)