diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-07-13 17:24:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-07-13 17:24:55 +0000 |
commit | 97c58f066a088d225583d352253e44c7bd46c9f5 (patch) | |
tree | 65cd67cdfe5824acf49aac6c21525482b0f23825 | |
parent | 278bac421f37ffb4f69b25e3132051e3f1028680 (diff) | |
download | tor-97c58f066a088d225583d352253e44c7bd46c9f5.tar tor-97c58f066a088d225583d352253e44c7bd46c9f5.tar.gz |
whitespace fixes
svn:r4544
-rw-r--r-- | src/common/compat.c | 6 | ||||
-rw-r--r-- | src/or/or.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index b1ec7ef64..4da5d0da6 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -923,12 +923,12 @@ 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()); } } diff --git a/src/or/or.h b/src/or/or.h index 205a65364..72b652e8c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1513,7 +1513,7 @@ void enable_control_logging(void); int _log_conn_is_control = (conn && conn->type == CONN_TYPE_CONTROL); \ if (_log_conn_is_control) \ disable_control_logging(); \ - do {stmt;} while(0); \ + do {stmt;} while (0); \ if (_log_conn_is_control) \ enable_control_logging(); \ } while (0) |