diff options
author | Werner Koch <[email protected]> | 2011-02-04 11:57:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-02-04 11:57:53 +0000 |
commit | b008274afdbe375b32a7e66dbd073e200f6f0587 (patch) | |
tree | 219e239d39cf06be3f03aa82fb572080ac163a15 /common/membuf.c | |
parent | Let autogen.sh check the git config (diff) | |
download | gnupg-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.gz gnupg-b008274afdbe375b32a7e66dbd073e200f6f0587.zip |
Nuked almost all trailing white space.post-nuke-of-trailing-ws
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.
Diffstat (limited to 'common/membuf.c')
-rw-r--r-- | common/membuf.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } - |