diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-06-05 01:56:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-06-05 01:56:54 +0000 |
commit | 0d1b4b50249f10944f8d3610110a0d310e314ab3 (patch) | |
tree | 107859969171cb5ec962aaea582798c76aa674f7 /src/common/util.c | |
parent | 17b5b3685f5f2f27b05d4e7f5b1dc78939a9f5e8 (diff) | |
download | tor-0d1b4b50249f10944f8d3610110a0d310e314ab3.tar tor-0d1b4b50249f10944f8d3610110a0d310e314ab3.tar.gz |
Unbork windows whitespace
svn:r1949
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/util.c b/src/common/util.c index 89d200013..ce9062fd9 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1741,7 +1741,7 @@ void tor_mutex_free(tor_mutex_t *m) { } struct tor_mutex_t { HANDLE handle; }; -tor_mutex_t *tor_mutex_new(void) +tor_mutex_t *tor_mutex_new(void) { tor_mutex_t *m; m = tor_malloc_zero(sizeof(tor_mutex_t)); @@ -1760,12 +1760,12 @@ void tor_mutex_acquire(tor_mutex_t *m) r = WaitForSingleObject(m->handle, INFINITE); switch (r) { case WAIT_ABANDONED: /* holding thread exited. */ - case WAIT_OBJECT_0: /* we got the mutex normally. */ + case WAIT_OBJECT_0: /* we got the mutex normally. */ break; case WAIT_TIMEOUT: /* Should never happen. */ - tor_assert(0); + tor_assert(0); break; - case WAIT_FAILED: + case WAIT_FAILED: log_fn(LOG_WARN, "Failed to acquire mutex: %d", GetLastError()); } } @@ -1774,7 +1774,7 @@ void tor_mutex_release(tor_mutex_t *m) BOOL r; r = ReleaseMutex(m->handle); if (!r) { - log_fn(LOG_WARN, "Failed to release mutex: %d", GetLastError()); + log_fn(LOG_WARN, "Failed to release mutex: %d", GetLastError()); } } |