diff options
author | Karel Klic <kklic@redhat.com> | 2010-03-31 15:12:41 +0200 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2010-03-31 15:12:41 +0200 |
commit | 41d165340e8367d66719d5e306cdf55164f6b3c3 (patch) | |
tree | 08295a240a5d2fa584c7bd03dac14b1cb09bfac4 /lib/Utils/strbuf.c | |
parent | d97ff74a7c897122d4789418efa451bee2f0b784 (diff) | |
download | abrt-41d165340e8367d66719d5e306cdf55164f6b3c3.tar.gz abrt-41d165340e8367d66719d5e306cdf55164f6b3c3.tar.xz abrt-41d165340e8367d66719d5e306cdf55164f6b3c3.zip |
Removed trailing whitespaces.
Diffstat (limited to 'lib/Utils/strbuf.c')
-rw-r--r-- | lib/Utils/strbuf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Utils/strbuf.c b/lib/Utils/strbuf.c index 6153ffe1..ab872543 100644 --- a/lib/Utils/strbuf.c +++ b/lib/Utils/strbuf.c @@ -63,7 +63,7 @@ static void strbuf_grow(struct strbuf *strbuf, int num) { while (strbuf->len + num + 1 > strbuf->alloc) strbuf->alloc *= 2; /* huge grow = infinite loop */ - + strbuf->buf = realloc(strbuf->buf, strbuf->alloc); if (!strbuf->buf) { @@ -105,11 +105,11 @@ struct strbuf *strbuf_append_strf(struct strbuf *strbuf, const char *format, ... { va_list p; char *string_ptr; - + va_start(p, format); string_ptr = xvasprintf(format, p); va_end(p); - + strbuf_append_str(strbuf, string_ptr); free(string_ptr); return strbuf; @@ -119,11 +119,11 @@ struct strbuf *strbuf_prepend_strf(struct strbuf *strbuf, const char *format, .. { va_list p; char *string_ptr; - + va_start(p, format); string_ptr = xvasprintf(format, p); va_end(p); - + strbuf_prepend_str(strbuf, string_ptr); free(string_ptr); return strbuf; |