aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-13 10:42:20 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-13 10:42:20 -0400
commit4570805efdca648fa2ade8923cb899679b990bb3 (patch)
treee4749814a6b8410e87552636aaeac03edf66602f /src
parent4410f6fb83a82d4d40fe88d0c9003fdd1217c00c (diff)
downloadtor-4570805efdca648fa2ade8923cb899679b990bb3.tar.gz
tor-4570805efdca648fa2ade8923cb899679b990bb3.zip
Fix whitespace issues
Diffstat (limited to 'src')
-rw-r--r--src/common/container.c2
-rw-r--r--src/common/util.c2
2 files changed, 2 insertions, 2 deletions
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;