Ensure case match, not mismatch.

svn:r4935
This commit is contained in:
Nick Mathewson 2005-09-08 18:34:41 +00:00
parent c4b3bf06c6
commit eab005c948

View File

@ -1188,7 +1188,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result,
SMARTLIST_FOREACH(hexdigests, char *, cp, SMARTLIST_FOREACH(hexdigests, char *, cp,
{ {
cached_dir_t *cached; cached_dir_t *cached;
tor_strlower(cp); tor_strupper(cp);
/* XXXX special-case own key? */ /* XXXX special-case own key? */
cached = strmap_get(cached_v2_networkstatus, cp); cached = strmap_get(cached_v2_networkstatus, cp);
if (cached) if (cached)