From: Nick Mathewson Date: Wed, 13 Aug 2014 14:42:20 +0000 (-0400) Subject: Fix whitespace issues X-Git-Tag: tor-0.2.6.1-alpha~208^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4570805efdca648fa2ade8923cb899679b990bb3;p=thirdparty%2Ftor.git Fix whitespace issues --- diff --git a/src/common/container.c b/src/common/container.c index 9bbb9730c6..54f041bac7 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -78,7 +78,7 @@ smartlist_ensure_capacity(smartlist_t *sl, int size) } sl->capacity = higher; sl->list = tor_reallocarray(sl->list, sizeof(void *), - ((size_t)sl->capacity)); + ((size_t)sl->capacity)); } } diff --git a/src/common/util.c b/src/common/util.c index d064aceae0..4029512978 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -3393,7 +3393,7 @@ format_win_cmdline_argument(const char *arg) /* Allocate space for argument, quotes (if needed), and terminator */ formatted_arg = tor_calloc(sizeof(char), - (smartlist_len(arg_chars) + (need_quotes ? 2 : 0) + 1)); + (smartlist_len(arg_chars) + (need_quotes ? 2 : 0) + 1)); /* Add leading quote */ i=0;