summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-03-15 09:21:29 -0400
committerNick Mathewson <nickm@torproject.org>2016-03-15 09:21:29 -0400
commitb48f8a8114575793046a8e9d3544d6b2d0a17f82 (patch)
tree406217796ac1f3ef57e50f3bebf2591a1da9b08a /src/common
parentc9899ee64008b63cb9867115ac684590dd50f902 (diff)
downloadtor-b48f8a8114575793046a8e9d3544d6b2d0a17f82.tar.gz
tor-b48f8a8114575793046a8e9d3544d6b2d0a17f82.zip
Fix whitespace.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 52b87f8209..39d6502ebf 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2074,7 +2074,8 @@ check_private_dir(const char *dirname, cpd_check_t check,
* the file between stat() and chmod(), a potential race exists.
*
* Several suggestions taken from:
- * https://developer.apple.com/library/mac/documentation/Security/Conceptual/SecureCodingGuide/Articles/RaceConditions.html
+ * https://developer.apple.com/library/mac/documentation/
+ * Security/Conceptual/SecureCodingGuide/Articles/RaceConditions.html
*/
/* Open directory.
@@ -2985,7 +2986,8 @@ expand_filename(const char *filename)
tor_assert(filename);
#ifdef _WIN32
/* Might consider using GetFullPathName() as described here:
- * http://etutorials.org/Programming/secure+programming/Chapter+3.+Input+Validation/3.7+Validating+Filenames+and+Paths/
+ * http://etutorials.org/Programming/secure+programming/
+ * Chapter+3.+Input+Validation/3.7+Validating+Filenames+and+Paths/
*/
return tor_strdup(filename);
#else