diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-17 15:20:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-17 15:20:15 +0000 |
commit | faf7445255684f21e5c1043602afac6d047e5bf3 (patch) | |
tree | 2ac1f70c1e5bec82f1b539778e262ce06095b6a8 /src | |
parent | b713b370bfdd2be8f1456d11f7e087c9cf7cdee7 (diff) | |
download | tor-faf7445255684f21e5c1043602afac6d047e5bf3.tar.gz tor-faf7445255684f21e5c1043602afac6d047e5bf3.zip |
r9061@totoro: nickm | 2006-10-17 11:18:28 -0400
Oops. Libevent 1.2 exists. Add it to our enum, even though we dont care yet.
svn:r8740
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 4ca0406b9c..b3934c4f6c 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -400,8 +400,11 @@ static int config_parse_interval(const char *s, int *ok); static void print_svn_version(void); static void init_libevent(void); static int opt_streq(const char *s1, const char *s2); +/** Versions of libevent. */ typedef enum { - LE_OLD=0, LE_10C, LE_10D, LE_10E, LE_11, LE_11A, LE_11B, LE_OTHER + /* Note: we compare these, so it's important that "old" precede everything, + * and that "other" come last. */ + LE_OLD=0, LE_10C, LE_10D, LE_10E, LE_11, LE_11A, LE_11B, LE_12, LE_OTHER } le_version_t; static le_version_t decode_libevent_version(void); #if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD) |