about summary refs log tree commit diff
path: root/rfc2231.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2231.c')
-rw-r--r--rfc2231.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfc2231.c b/rfc2231.c
index 85cf629..49fcc5d 100644
--- a/rfc2231.c
+++ b/rfc2231.c
@@ -83,6 +83,7 @@ found_plain:
 					memcpy(dst, sbuf, ebuf - sbuf);
 					dst += ebuf - sbuf;
 				}
+				*dst = 0;
 			} else {
 				break;
 			}