Commit Diff


commit - 8f484ce91c08bb03ca2d1e93f0d268c3efe748e1
commit + 1620a2b80faee81e32590c5880607d3aba5f2c14
blob - 09a88f6cfffb1bc718662c13a8dcfe8b005c8232
blob + cd3c2c7b71186843825fcb5230af77188cfb728d
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -309,6 +309,7 @@ static const struct got_error *
 gw_strdup_string(char **s, char *str1, const char *str2)
 {
 	if (str1 && str2)
+		/* XXX and what is the value of errno ?!? */
 		return got_error_from_errno("strdup");
 	if (str1)
 		*s = strdup(str1);