summaryrefslogtreecommitdiff
path: root/evrpc.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-02-10 21:40:12 +0000
committerNick Mathewson <nickm@torproject.org>2009-02-10 21:40:12 +0000
commitcd731b77d7e6d0398010ff45bb80e9a3534eaccc (patch)
tree6034e69ed302be8f83dc7c748999cb64343bccc7 /evrpc.c
parent1ed27048e4807fe2bf182e9544dc9c7b4741cbc0 (diff)
downloadlibevent-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/evrpc.c b/evrpc.c
index 25e7bf78..a925ffb4 100644
--- a/evrpc.c
+++ b/evrpc.c
@@ -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"