summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-05 23:59:21 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-05 23:59:21 +0000
commit4b4d04f27bc54e305497f8d9b7ce7a77c0bbd399 (patch)
tree8bb65a7373e6058de28c3cd8b88d071abf8de6fe
parentff1da87427e0aa8ae4d7b564a17c3d490e8af921 (diff)
Bugfix from Paul LeoNerd Evans
git-svn-id: file:///home/lennart/svn/public/libasyncns/trunk@20 cc0fb855-19ed-0310-866e-8c1d96e4abae
-rw-r--r--libasyncns/asyncns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libasyncns/asyncns.c b/libasyncns/asyncns.c
index 6e05635..1a86c05 100644
--- a/libasyncns/asyncns.c
+++ b/libasyncns/asyncns.c
@@ -686,7 +686,7 @@ static int handle_response(asyncns_t *asyncns, rheader_t *resp, size_t length) {
const nameinfo_response_t *ni_resp = (nameinfo_response_t*) resp;
assert(length >= sizeof(nameinfo_response_t));
- assert(q->type = REQUEST_NAMEINFO);
+ assert(q->type == REQUEST_NAMEINFO);
q->ret = ni_resp->ret;