Commit Diff


commit - 27192be7d3638a3204530c959b4cef6de89e5b74
commit + 7eb9c9eda5061b3b9b3b77b48b3b2a93d3cc9a52
blob - 62e80e12912672b7ae26c991e774113ec9a14bfd
blob + 2ae90eec773c5bf6a57ff54edf7b96518b09cc95
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -1815,7 +1815,7 @@ gw_gen_author_header_old(const char *str)
 
 	error = gw_html_escape(&escaped_html, str);
 	if (error)
-		return_html = strdup("");
+		return strdup("");
 	if (asprintf(&return_html, header_author_html, escaped_html) == -1)
 		return_html = strdup("");
 
@@ -1929,7 +1929,7 @@ gw_gen_committer_header_old(const char *str)
 
 	error = gw_html_escape(&escaped_html, str);
 	if (error)
-		return_html = strdup("");
+		return strdup("");
 	if (asprintf(&return_html, header_committer_html, escaped_html) == -1)
 		return_html = strdup("");