[tor-commits] [tor/master] Fix whitespace issues
nickm at torproject.org
nickm at torproject.org
Wed Aug 13 19:02:14 UTC 2014
commit 4570805efdca648fa2ade8923cb899679b990bb3
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Aug 13 10:42:20 2014 -0400
Fix whitespace issues
---
src/common/container.c | 2 +-
src/common/util.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/common/container.c b/src/common/container.c
index 9bbb973..54f041b 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 d064ace..4029512 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;
More information about the tor-commits
mailing list