summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-28 20:24:27 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-28 20:24:27 +0000
commitf38240435a474b71a308cecf2e4e5aff6a40d332 (patch)
tree489bc14fcc9fd343bfc27e0bcf402da0582b960f /src/or/eventdns.c
parent3008c3b768f2cb8ab735e8ebbda2d4322910b19e (diff)
downloadtor-f38240435a474b71a308cecf2e4e5aff6a40d332.tar.gz
tor-f38240435a474b71a308cecf2e4e5aff6a40d332.zip
r12001@catbus: nickm | 2007-02-28 15:24:12 -0500
Try to build without warnings on mingw with verbose warnings on. First attempt. svn:r9688
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 7270df5052..517db58853 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -714,7 +714,7 @@ reply_handle(struct request *const req, u16 flags, u32 ttl, struct reply *reply)
/*XXXX refactor the parts of */
log(EVDNS_LOG_DEBUG, "Got a SERVERFAILED from nameserver %s; "
"will allow the request to time out.",
- debug_nota(req->ns->address));
+ debug_ntoa(req->ns->address));
break;
default:
// we got a good reply from the nameserver
@@ -2559,6 +2559,7 @@ evdns_resolv_set_defaults(int flags) {
#ifndef HAVE_STRTOK_R
static char *
strtok_r(char *s, const char *delim, char **state) {
+ (void)state;
return strtok(s, delim);
}
#endif