Commit Diff


commit - 5894d523451c8727c925ffc07fdb166c8d73fb0f
commit + 33dc7bd2ce65f30f3efefdb4aad6ff16f1dca774
blob - 521d9a84e3bfa904e09e3da6fdcf4e832b73976c
blob + 8e9a86d49518f0cd0a86f7c333116111749023fc
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -1342,8 +1342,7 @@ gw_display_error(struct gw_trans *gw_trans, const stru
 
 	if (khtml_open(gw_trans->gw_html_req, gw_trans->gw_req, 0) != KCGI_OK)
 		return;
-
-	khttp_puts(gw_trans->gw_req, err->msg);
+	khtml_puts(gw_trans->gw_html_req, err->msg);
 	khtml_close(gw_trans->gw_html_req);
 }