[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13035: fix whitespace (in tor/trunk: . src/common src/or)
Author: nickm
Date: 2008-01-05 19:54:22 -0500 (Sat, 05 Jan 2008)
New Revision: 13035
Modified:
tor/trunk/
tor/trunk/src/common/util.c
tor/trunk/src/or/buffers.c
tor/trunk/src/or/dirserv.c
Log:
r17467@catbus: nickm | 2008-01-05 19:54:20 -0500
fix whitespace
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r17467] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/common/util.c
===================================================================
--- tor/trunk/src/common/util.c 2008-01-05 21:54:37 UTC (rev 13034)
+++ tor/trunk/src/common/util.c 2008-01-06 00:54:22 UTC (rev 13035)
@@ -2087,7 +2087,7 @@
++line;
} while (*line && *line != '\n');
}
- while(TOR_ISSPACE(*line)) ++line;
+ while (TOR_ISSPACE(*line)) ++line;
return line;
}
Modified: tor/trunk/src/or/buffers.c
===================================================================
--- tor/trunk/src/or/buffers.c 2008-01-05 21:54:37 UTC (rev 13034)
+++ tor/trunk/src/or/buffers.c 2008-01-06 00:54:22 UTC (rev 13035)
@@ -493,9 +493,9 @@
tor_free(buf);
}
-/** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to the
- * tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger than
- * MAX_CHUNK_ALLOC. */
+/** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to
+ * the tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger
+ * than MAX_CHUNK_ALLOC. */
static chunk_t *
buf_add_chunk_with_capacity(buf_t *buf, size_t capacity, int capped)
{
@@ -765,7 +765,8 @@
* DOCDOC can write more than flushlen bytes.
*/
int
-flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen, size_t *buf_flushlen)
+flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen,
+ size_t *buf_flushlen)
{
int r;
size_t flushed = 0;
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2008-01-05 21:54:37 UTC (rev 13034)
+++ tor/trunk/src/or/dirserv.c 2008-01-06 00:54:22 UTC (rev 13035)
@@ -2757,7 +2757,6 @@
ctr = (ctr + 1) % 128;
}
-
/** Given a fingerprint <b>fp</b> which is either set if we're looking
* for a v2 status, or zeroes if we're looking for a v3 status, return
* a pointer to the appropriate cached dir object, or NULL if there isn't