openbsd-ports/net/wget/patches/patch-ab
1998-08-04 00:38:52 +00:00

12 lines
382 B
Plaintext

--- src/url.c.orig Tue Jun 16 04:55:27 1998
+++ src/url.c Mon Aug 3 23:03:49 1998
@@ -870,7 +870,7 @@
HTML tools burn in hell for the damage they've inflicted! */
while ((pbuf < buf + step) && ISSPACE (*pbuf))
++pbuf;
- while (size && ISSPACE (pbuf[size]))
+ while (size && ISSPACE (pbuf[size-1]))
--size;
for (i = 0; protostrings[i]; i++)