diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-02-10 21:40:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-02-10 21:40:12 +0000 |
commit | cd731b77d7e6d0398010ff45bb80e9a3534eaccc (patch) | |
tree | 6034e69ed302be8f83dc7c748999cb64343bccc7 /evrpc.c | |
parent | 1ed27048e4807fe2bf182e9544dc9c7b4741cbc0 (diff) | |
download | libevent-cd731b77d7e6d0398010ff45bb80e9a3534eaccc.tar.gz |
Do not use ctypes functions in cases when we need the "net" locale.
This patch adds a new set of EVUTIL_IS* functions to replace use of
the ctypes is* functions in all cases where we care about characters'
interpretations in net ascii rather than in the locale. For example,
when we're working with DNS hostnames, we don't want to do the 0x20
hack on non-ascii characters, even if the host thinks they should be
isalpha.
svn:r1114
Diffstat (limited to 'evrpc.c')
-rw-r--r-- | evrpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,6 @@ #include <string.h> #include <assert.h> -#include "util-internal.h" #include "event2/event.h" #include "event2/event_struct.h" #include "evrpc.h" @@ -63,7 +62,8 @@ #include "event2/tag.h" #include "event2/http_struct.h" #include "event2/http_compat.h" -#include "evutil.h" +#include "event2/util.h" +#include "util-internal.h" #include "log-internal.h" #include "mm-internal.h" |