Commit Diff


commit - e0857cfe46baca2f87986268f7d819b8bd9591ff
commit + 889ff3563085bf6f92a13721166bd000b9e48bfa
blob - 6a927f23e171745f70fa35dc25632bbd016df870
blob + f6ce5b49ffa1423ae8c478e61cf2203aa94d0f65
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -333,9 +333,6 @@ isbinary(const uint8_t *buf, size_t n)
 {
 	size_t i;
 
-	if (n == 0)
-		return 0;
-
 	for (i = 0; i < n; i++)
 		if (buf[i] == 0)
 			return 1;