about summary refs log tree commit diff
path: root/blaze822.c
diff options
context:
space:
mode:
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c
index 6665115..188182d 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -342,7 +342,7 @@ compress_hdr(char *s, char *end)
 		while (h < end && *h) {
 			if (*h == '\n') {
 				*t++ = ' ';
-				while (*h && isfws(*h))
+				while (*h && isfws(*h) && *(h+1))
 					h++;
 			}
 			*t++ = *h++;