From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- common/membuf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common/membuf.c') diff --git a/common/membuf.c b/common/membuf.c index 8648044a7..d1ddbb9e6 100644 --- a/common/membuf.c +++ b/common/membuf.c @@ -85,7 +85,7 @@ put_membuf (membuf_t *mb, const void *buf, size_t len) if (mb->len + len >= mb->size) { char *p; - + mb->size += len + 1024; p = xtryrealloc (mb->buf, mb->size); if (!p) @@ -94,7 +94,7 @@ put_membuf (membuf_t *mb, const void *buf, size_t len) /* Wipe out what we already accumulated. This is required in case we are storing sensitive data here. The membuf API does not provide another way to cleanup after an - error. */ + error. */ wipememory (mb->buf, mb->len); return; } @@ -158,4 +158,3 @@ peek_membuf (membuf_t *mb, size_t *len) *len = mb->len; return p; } - -- cgit v1.2.3