diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-20 23:20:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-20 23:20:36 +0000 |
commit | f0e523c6ef9f6308a72d3474aaec04718a100ac9 (patch) | |
tree | 1f04e96a983915b147f77a7c5286d231b15fb872 /src/or/buffers.c | |
parent | ba977ed4f1e3e48759fa48bed9bb4de5085e32d6 (diff) | |
download | tor-f0e523c6ef9f6308a72d3474aaec04718a100ac9.tar.gz tor-f0e523c6ef9f6308a72d3474aaec04718a100ac9.zip |
r18272@catbus: nickm | 2008-02-20 18:20:33 -0500
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority.
svn:r13630
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 44f5ebac32..e025a5b2bc 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -13,7 +13,7 @@ const char buffers_c_id[] = * fairly opaque string holders that can read to or flush from: * memory, file descriptors, or TLS connections. **/ - +#define BUFFERS_PRIVATE #include "or.h" //#define PARANOIA @@ -1075,7 +1075,7 @@ buf_matches_at_pos(const buf_pos_t *pos, const char *s, size_t n) /** Return the first position in <b>buf</b> at which the <b>n</b>-character * string <b>s</b> occurs, or -1 if it does not occur. */ -static int +/*private*/ int buf_find_string_offset(const buf_t *buf, const char *s, size_t n) { buf_pos_t pos; |